e2e

e2e

e2e is an end-to-end testing framework for web and mobile apps. Describe a goal in natural language and an agent interacts with the app to complete it. Use locators and assertions in the same test to check exact results. Customize anything from agent to the engine.

// 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');
});
npx e2e init

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.

Documentation

e2e.tester.army/docs: quickstart, writing tests, mobile, migrating from Playwright, Cypress, Selenium, Detox, or Maestro, and the full reference.

Packages

Contributing

See CONTRIBUTING.md and SECURITY.md. Apache-2.0, by TesterArmy.

Languages
TypeScript 96.9%
Rust 1.7%
JavaScript 1%
HTML 0.2%
Swift 0.1%