Currently Bitrise’s AWS Device Farm Runner Build Step supports scheduling a test run in a standard test environment but NOT in a custom test environment.
The key difference between these two is that the custom test environment has an additional testSpecArn
attribute included in the --test
parameter.
Standard Test
aws devicefarm schedule-run --project-arn projectARN --app-arn appARN --device-pool-arn devicePoolARN --name customTestName --test type=APPIUM_NODE,testPackageArn=testPackageARN
Custom Test
aws devicefarm schedule-run --project-arn projectARN --app-arn appARN --device-pool-arn devicePoolARN --name customTestName --test testSpecArn=testSpecARN,type=APPIUM_NODE,testPackageArn=testPackageARN
Proposed Fix:
Add support for inserting a testSpecArn
as an argument in the build step GUI.
This would then be mapped to the testSpecArn
value under --test
i.e:
--test testSpecArn=testSpecARN,type=APPIUM_NODE,testPackageArn=testPackageARN
Related Github Issue: Allow specifying the test-spec ARN · Issue #46 · peartherapeutics/bitrise-aws-device-farm-runner · GitHub