An Expo greeting app with three locator tests and two agent tests per platform.
Run
Use Node 22.22.3+, 24.8+, or 26+. From this folder:
npm installChoose one platform:
| Platform | Build and install | Run tests |
|---|---|---|
| Web | The runner starts Expo | npm run test:e2e:web |
| iOS | npm run ios:release | npm run test:e2e:ios |
| Android | npm run android:release | npm run test:e2e:android |
For native builds, follow Expo's setup guide.
Start a simulator or emulator before building. Rebuild after app changes.
After config changes, run npx expo prebuild to update existing native projects.
Agent tests
Set a Vercel AI Gateway key:
AI_GATEWAY_API_KEY="your-key" npm run test:e2e:webUse test:e2e:ios or test:e2e:android for native tests.
Without the key, the agent tests skip. Add -- --no-cache to use fresh
model calls. Results are in .e2e/report.json.
See e2e.config.ts and tests/ for the setup. For your own app, follow the Quickstart.
Last checked on 2026-10-19 with Expo SDK 57, e2e 0.21.2, @e2e-dev/web 0.15.2 and @e2e-dev/mobile 0.12.3.