Can I run iOS/Android simulators during CI builds for React Native Appium/WebDriver tests?
Last updated: February 3, 2026
Yes. You can boot iOS simulators and Android emulators during your CI build and run your React Native integration tests with Appium/WebDriver against them.
Context
When building a React Native app, you may want to run end-to-end integration tests in CI using Appium/WebDriver. This requires launching an iOS simulator or Android emulator within the build environment, running tests against it, and then shutting it down when finished.
Answer
Follow these steps in your build script to run integration tests on a simulator/emulator:
List available simulators/emulators to select a device:
iOS:
xcrun simctl list devicesAndroid:
emulator -list-avds
Start the simulator/emulator:
iOS:
xcrun simctl boot "<device_name>"Android:
emulator -avd <emulator_name>
Build your React Native app (iOS and/or Android) in the same job so it installs/launches on the running simulator/emulator.
Run your Appium/WebDriver tests, pointing to the simulator/emulator you booted.
Tear down the simulator/emulator after tests complete:
iOS:
xcrun simctl shutdown "<device_name>"Android:
adb -s <emulator_id> emu kill
Sources:
Apple simctl (Simulator Control) reference: https://developer.apple.com/documentation/xcode/simctl
Android Emulator command-line guide: https://developer.android.com/studio/run/emulator-commandline
General CI test execution reference: https://docs.codemagic.io/flutter-testing/running-automated-tests/