This is an example repo for testing an Expo app with Maestro (with full CI integration). By adding tags (deploy
, weekly
, pr
) to your maestro tests, they will be automatically run at the right time.
With this setup, the app isn't rebuilt on each run. We only publish an expo update and useMaestro Cloud which makes for super fast E2E test runs (<5min).
For more info, see:
- Slides of the talk
- Video of the talk (coming soon)
- Article (coming soon)
yarn
yarn start
- Install Maestro
- Login to Maestro Cloud
- run the tests locally with
maestro test .maestro
- run the tests on maestro cloud with
yarn test:e2e:ci:ios --ios-update-id XXX
(similar for android)
- Reuse app binary on Maestro Cloud
- find a way to make it work when there are native changes on the PR (and it needs a new build)
- use runtime version
- use expo fingerprint
- cache Maestro in the CI
- add
openLink autoVerify: true
https://maestro.mobile.dev/api-reference/commands/openlink#auto-verification-of-your-android-apps