mirror of
https://github.com/tester-army/e2e.git
synced 2026-11-21 03:05:26 +08:00
Moves every example to e2e 0.23.1, @e2e-dev/web 0.16.0, and @e2e-dev/mobile 0.12.7, and records the web check in the four web examples' READMEs.
863 B
863 B
e2e with Angular
An Angular greeting app with three locator tests and two agent tests.
Run
Use Node 22.22.3+, 24.15+, or 26+. From this folder:
npm install
npm run test:e2e
The runner starts the app at http://localhost:4200.
It downloads Chromium on the first run if needed.
Agent tests
Set a Vercel AI Gateway key:
AI_GATEWAY_API_KEY="your-key" npm run test:e2e
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 with e2e 0.23.1, @e2e-dev/web 0.16.0, Angular 22.2, and Node 24.
