e2e-inc/e2e
Developer ToolsAn end-to-end testing framework where an AI agent performs natural-language steps inside web and mobile test suites.
This repo is an agent skill pack · 11 skillsSkill list and install →What it does
e2e is an end-to-end testing framework for web and mobile apps that mixes two styles of testing in a single test file: an AI agent executes a goal written in natural language, and ordinary locators and assertions verify the outcome. A test file imports test and expect from e2e, then uses agent.act() to drive the app and screen.getByRole() or agent.assert() to check the result (README example).
Under the hood, the CLI and SDK coordinate an engine that drives the target: web through Chromium, Firefox, and WebKit via Playwright, mobile through iOS simulators and Android emulators, plus experimental macOS desktop and Electron engines (packages table).
It suits QA and frontend teams that want to write intent-level tests, and coding-agent users who want an agent to drive their app live through an MCP server (npx e2e mcp) and return repeatable test lines (MCP section).
Quick start
Prerequisites: Node.js with npx, plus a model provider, API key, or local model for any AI-driven steps.
npx e2e init
The command asks for an engine (web or mobile) and a model provider, then writes a config and an example test. The rest of the setup is covered in the quickstart. The repository also contains standalone example projects for Vite, Next.js, Astro, Angular, Expo, SwiftUI, Jetpack Compose, Kotlin Multiplatform, Flutter, and .NET MAUI, each with a passing suite (examples). Run the generated or example test with npx e2e run, producing pass/fail results from the locators and assertions.
Deterministic CI
A release gate should be reproducible. Two mechanisms help:
- Exact locators and assertions written by your coding agent need no model or key, and run across Chromium, Firefox, and WebKit.
agent.actsteps that a later assertion verifies record their actions. Commit the recordings in.e2e/cache/and CI replays them without model calls. Withnpx e2e run --strict-cache, a missing, incomplete, or no-longer-matching recording fails the test (caching docs).
Note that with the built-in agent, agent.assert, agent.waitFor, and agent.extract call the model on every run, while expect(locator) does not.
Constraints
- The project is between pre-1.0 active development; APIs and config may change between minor releases (status).
- Model-backed steps require a subscription, API key, or local model; deterministic CI depends on cached recordings.
- Web runs rely on Playwright; mobile requires simulators or emulators, with cloud device and browser providers available as optional integration packages (integrations).
- The CLI sends anonymous usage data by default; disable it with
npx e2e telemetry disableorE2E_TELEMETRY_DISABLED=1(telemetry). - Licensed under Apache-2.0.
HotRepo's take
On 2026-12-04 the repo appeared on the TypeScript daily list at position 10 with 96 stars gained that day, against a total of about 14.7k stars. That is a single daily snapshot, not evidence of a sustained trend. What the repository itself establishes is a concrete product scope: a test runner and SDK with multiple engines, cache-based deterministic replay, and an MCP server for coding agents. Readers evaluating it should treat it as an actively changing pre-1.0 testing tool whose strength is the split between AI-driven steps and model-free assertions.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
You might also like
- tester-army/e2eE2E test framework where an agent performs natural-language steps on web and mobile apps, recorded and replayed.
- cypress-io/cypressJavaScript/TypeScript end-to-end and component testing framework that runs tests in a real browser with time-travel debugging.
- microsoft/playwrightDrive Chromium, Firefox and WebKit through one API for end-to-end tests, browser scripts, or AI-agent automation.
- pierridotite/mobile-agent-testersRun parallel Claude Code QA agents on iOS simulators and Android emulators to explore mobile apps and file bug reports.
- keploy/keployTurns real API traffic into replayable tests and infra mocks, so teams get integration coverage without writing test code.