* docs(agent-steps): rewrite with the authoring-docs skill * docs(agents): rewrite with the authoring-docs skill * docs(api-testing): rewrite with the authoring-docs skill * docs(authentication): rewrite with the authoring-docs skill INVALID_CONFIG also fires for a password shorter than 6 characters. * docs(browser): rewrite with the authoring-docs skill * docs(bug-bash): rewrite with the authoring-docs skill * docs(cache): rewrite with the authoring-docs skill * docs(ci): rewrite with the authoring-docs skill Rerun folders are rerun-<n>/, not rerun-1/. Merge exit codes into Gate pull requests. * docs(ci/bitrise): rewrite with the authoring-docs skill * docs(ci/codemagic): rewrite with the authoring-docs skill * docs(ci/eas-workflows): rewrite with the authoring-docs skill * docs(ci/github-actions): rewrite with the authoring-docs skill * docs(coding-agents): rewrite with the authoring-docs skill * docs(core-concepts): rewrite with the authoring-docs skill * docs(debugging): rewrite with the authoring-docs skill * docs(decision-models): rewrite with the authoring-docs skill A point tap costs three decision calls and one text call, not four. * docs(example-projects): rewrite with the authoring-docs skill * docs(executors): rewrite with the authoring-docs skill * docs(explore): rewrite with the authoring-docs skill * docs(github): rewrite with the authoring-docs skill * docs(index): rewrite with the authoring-docs skill * docs(integrations/eas): rewrite with the authoring-docs skill * docs(integrations/index): rewrite with the authoring-docs skill * docs(integrations/kernel): rewrite with the authoring-docs skill * docs(integrations/smol): rewrite with the authoring-docs skill * docs(migrate/cypress): rewrite with the authoring-docs skill * docs(migrate/detox): rewrite with the authoring-docs skill * docs(migrate/maestro): rewrite with the authoring-docs skill Fold the command map tables into accordions. * docs(migrate/playwright): rewrite with the authoring-docs skill List use and testMatch among the Playwright keys e2e rejects. Fold the mapping tables into accordions. * docs(migrate/selenium): rewrite with the authoring-docs skill * docs(mobile): rewrite with the authoring-docs skill Fix the Android installApp troubleshooting entry: agent-device 0.21.22 parses the manifest itself and searches ~/Library/Android/sdk on macOS. * docs(models): rewrite with the authoring-docs skill * docs(quickstart): rewrite with the authoring-docs skill * docs(security): rewrite with the authoring-docs skill Name smol beside Kernel and EAS Simulators among the integrations that make outbound connections. * docs(subscriptions): rewrite with the authoring-docs skill npx e2e login with no provider opens a picker. * docs(telemetry): rewrite with the authoring-docs skill Add the source-checkout, unwritable-preferences, and CI opt-out rules. * docs(tools): rewrite with the authoring-docs skill Config load fails only when an entry sets both tools and a custom executor. * docs(visual-testing): rewrite with the authoring-docs skill * docs(web): rewrite with the authoring-docs skill Fold the Next.js dev-origins section, merge the basicAuth examples, and fix the reuseExisting row: in CI e2e ignores it and only a server that already answers is APP_ALREADY_RUNNING. Drop the unrelated agents block from the command config example. * docs(writing-an-engine): rewrite with the authoring-docs skill Remove the origin-check claim for location; PR #290 removed origin policy. * docs(models): keep process.loadEnvFile() as a way to load the pulled OIDC token * docs(mobile): restore the imports in the several-devices and agent-tools configs * docs(agent-steps): shorten Prose words 841 -> 764. * docs(agents): shorten Prose words 789 -> 675. * docs(api-testing): shorten Prose words 270 -> 266. * docs(authentication): shorten Prose words 1000 -> 849. * docs(browser): shorten Prose words 1934 -> 1697. * docs(bug-bash): shorten Prose words 615 -> 585. * docs(cache): shorten Prose words 2793 -> 2374. * docs(ci): shorten Prose words 1338 -> 1182. * docs(ci/bitrise): shorten Prose words 321 -> 306. * docs(ci/codemagic): shorten Prose words 259 -> 250. * docs(ci/eas-workflows): shorten Prose words 431 -> 394. * docs(ci/github-actions): shorten Prose words 544 -> 453. * docs(coding-agents): shorten Prose words 841 -> 735. * docs(core-concepts): shorten Prose words 686 -> 620. * docs(debugging): shorten Prose words 1826 -> 1604. * docs(decision-models): shorten Prose words 1003 -> 942. * docs(example-projects): shorten Prose words 347 -> 288. * docs(executors): shorten Prose words 1297 -> 1114. * docs(explore): shorten Prose words 451 -> 413. * docs(github): shorten Prose words 723 -> 626. * docs(index): shorten Prose words 387 -> 333. * docs(integrations/eas): shorten Prose words 1293 -> 1119. * docs(integrations/index): shorten Prose words 174 -> 163. * docs(integrations/kernel): shorten Prose words 794 -> 620. * docs(integrations/smol): shorten Prose words 924 -> 855. * docs(migrate/cypress): shorten Prose words 957 -> 890. * docs(migrate/detox): shorten Prose words 1073 -> 1021. * docs(migrate/maestro): shorten Prose words 2464 -> 2246. * docs(migrate/playwright): shorten Prose words 4835 -> 4546. * docs(migrate/selenium): shorten Prose words 933 -> 887. * docs(mobile): shorten Prose words 2912 -> 2595. * docs(models): shorten Prose words 1187 -> 1048. * docs(quickstart): shorten Prose words 980 -> 946. * docs(security): shorten Prose words 587 -> 559. * docs(subscriptions): shorten Prose words 694 -> 651. * docs(telemetry): shorten Prose words 2158 -> 1999. * docs(tools): shorten Prose words 460 -> 397. * docs(visual-testing): shorten Prose words 583 -> 566. * docs(web): shorten Prose words 1262 -> 1104. * docs(writing-an-engine): shorten Prose words 1731 -> 1522. * docs(agent-steps): address review findings * docs(agents): address review findings * docs(authentication): address review findings * docs(cache): address review findings * docs(ci): address review findings * docs(coding-agents): address review findings * docs(debugging): address review findings * docs(example-projects): address review findings * docs(executors): address review findings * docs(index): address review findings * docs(integrations/eas): address review findings * docs(migrate/maestro): address review findings * docs(subscriptions): address review findings * docs(telemetry): address review findings * docs(tools): address review findings * docs(web): address review findings * docs(writing-an-engine): address review findings
e2e
e2e is an end-to-end testing framework for web and mobile apps. Describe a goal in natural language and an agent drives the app to reach it. Check the result with locators and assertions in the same test.
// tests/checkout.e2e.ts
import { test, expect } from 'e2e';
test('a member upgrades to Pro', async ({ app, agent, screen }) => {
await app.open('/settings/billing');
await agent.act('upgrade the workspace to the Pro plan');
await agent.assert('the invoice preview shows a prorated amount');
await expect(screen.getByRole('status')).toContainText('Pro');
});
An agent step that a later assertion verifies records its actions, and the next run replays them with no model calls until the app changes. Tests without agent steps need no model. Bring your own subscription, API key, or local model.
Quick start
npx e2e init
init asks for an engine, web or mobile, and a model provider, then writes a
config and an example test. The
quickstart covers the rest.
To see a finished setup in your stack, open
examples/:
Vite, Next.js, Astro, Expo, SwiftUI, Jetpack Compose, Kotlin Multiplatform,
and Flutter, each a standalone project with a passing suite.
Packages
| Package | What it does |
|---|---|
e2e |
The SDK, runner, and CLI. |
@e2e-dev/web |
Browser engine: Chromium, Firefox, and WebKit through Playwright. |
@e2e-dev/mobile |
iOS and Android engine: simulators and emulators through agent-device. |
@e2e-dev/github |
Reporter that posts results as a pull request comment. |
@e2e-dev/kernel |
Kernel hosted browsers for the web engine. |
@e2e-dev/eas |
EAS Simulators hosted iOS simulators and Android emulators for the mobile engine. |
@e2e-dev/smol |
smol machines browsers for the web engine: by default, each attempt branches a warm Chromium microVM. |
@e2e-dev/decision |
Decision-model executors for bounded semantic actions and assertions. |
Documentation
e2e.tester.army/docs. The e2e package ships
every page, so coding agents can read them offline in node_modules/e2e/docs.
Contributing
See CONTRIBUTING.md. Questions go to Discord.
Security
Please don't open public issues for security vulnerabilities. Follow SECURITY.md and report them to security@tester.army.
Telemetry
The CLI sends anonymous usage data, such as which commands and engines run and
where runs fail, but no test content, app content, or credentials. Opt out with
npx e2e telemetry disable or E2E_TELEMETRY_DISABLED=1.
Telemetry lists every field.
Status
Note
e2e is in active development on the way to 1.0. APIs and config can still change between minor releases.
Made by TesterArmy
e2e is built by TesterArmy, the agentic testing platform that runs natural language tests on web and mobile apps, on every pull request or on a schedule.
Apache-2.0.
