Currently E2E tests only run on iOS (yarn e2e:ios). The Detox config already has an Android configuration (android.emu.release) but it's not wired up in CI.
What needs to happen
- Add an Android E2E job to
flash-list.yml (or a separate workflow)
- Use
ubuntu-latest with KVM for hardware-accelerated Android emulator
- Run
yarn e2e:build:android + yarn e2e:test:android
- The
agent-android-bot workflow already sets up the emulator — can reuse that pattern
Context
The android.emu.release config in .detoxrc.js builds to android/app/build/outputs/apk/release/app-release.apk and targets an emulator named React-Native-Phone. The CI setup would need to match this AVD name or update the config.
Currently E2E tests only run on iOS (
yarn e2e:ios). The Detox config already has an Android configuration (android.emu.release) but it's not wired up in CI.What needs to happen
flash-list.yml(or a separate workflow)ubuntu-latestwith KVM for hardware-accelerated Android emulatoryarn e2e:build:android+yarn e2e:test:androidagent-android-botworkflow already sets up the emulator — can reuse that patternContext
The
android.emu.releaseconfig in.detoxrc.jsbuilds toandroid/app/build/outputs/apk/release/app-release.apkand targets an emulator namedReact-Native-Phone. The CI setup would need to match this AVD name or update the config.