Migrating Tests from a Standard Test Environment to a Custom Test Environment
Running a test in a custom environment requires that all information used in the test run is included either in your test spec YAML file or test code. Here are some things to consider when you move a test to a custom environment.
Appium Framework
In a custom test environnment, Device Farm does not insert or override any Appium capabilities in your Appium framework tests. You must specify your test's Appium capabilities in either the test spec YAML file or your test code.
Android Instrumentation
You do not need to make changes to move your Android instrumentation tests to a custom test environment.
iOS XCUITest
You do not need to make changes to move your iOS XCUITest tests to a custom test environment.