Migrated the Ruby sample apps and test cases by Appium.io to run in AWS Device Farm.
In the "Android" folder:
- ruby-android-test.yaml: a sample custom test script to load and run the test case
- Ruby test case package, ready to be zipped, uploaded and test
In the "iOS" folder:
- ruby-ios-testspec.yaml: a sample custom test script to load and run the test case
- Ruby test case package, ready to be zipped, uploaded and test
- Sign in to the Device Farm console at https://console.aws.amazon.com/devicefarm.
- If you see the AWS Device Farm console home page, choose Get started.
- You can upload your tests to an existing project or choose Create a new project.
- If the Create a new run button is displayed, choose it.
- On the Choose your application page, choose the mobile app icon.
- Choose Upload to upload the ApiDemos-debug-df-v1.apk file (Android) or the TestApp-iOS-df-v1.ipa file (iOS) in this project.
- In Run name, enter a name for your run.
- Choose Appium Ruby to configure your test.
- Choose Upload to add your Appium test scripts (the zip file in corresponding folder) to the test run.
- Create a test spec using the .yaml file in the corresponding folder.
- Choose devices and start the run.
For more information, see https://docs.aws.amazon.com/devicefarm/latest/developerguide/test-types-android-appium-ruby.html
Comments are welcome if any issue is encountered when using the test files.