-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It throws an error "Value '' at 'appArn' failed to satisfy constraint" #8
Comments
Parameter validation there isn't implemented yet, see the comment at https://github.com/realm/aws-devicefarm/blob/master/test-application/index.js#L46 In the code you posted you've dropped the app_file parameter pointing to an Android package - you either need to provide the path to an apk file, or upload the apk file and provide the ARN of that upload. I'd expect specifying the project ARN as you did there will throw an error later on in the test run. So far we're mostly ignoring the appium stuff - our Android app has tests embedded. Your example looks like you are actually running appium tests. If you have something working there please provide stripped down test data so I can add proper support for it. |
Hi @bwachter , I tested test cases on the device browser (such as chrome) at the device farm, so I haven't added any apk or IPA files which is why I'm getting error. Here is my capabilities on webdriverio:
|
Can you fork this repository, and try a few things? I believe if you remove appArn from |
The following code throws an error as
Error: ValidationException: 2 validation errors detected: Value '' at 'appArn' failed to satisfy constraint: Member must satisfy regular expression pattern: ^arn:.+; Value '' at 'appArn' failed to satisfy constraint: Member must have length greater than or equal to 32
But when I add
app_arn: ${{ secrets.AWS_PROJECT_ARN }}
, the error is gone.I look out the code, and this param is not required.
The text was updated successfully, but these errors were encountered: