e2e
БесплатноБез исполняемых скриптовНе проверенWrites, runs, and debugs web, mobile, and desktop end-to-end tests with e2e (mixing agent.act goals with locator assertions), drives apps live over e2e mcp…
Об этом скилле
e2e: agentic end-to-end tests
e2e runs UI and API tests that mix agent instructions (agent.act,
agent.assert, agent.waitFor, agent.extract) with exact actions and
checks (screen, app, browser, device, request, expect). Engines:
@e2e-dev/web (browsers), @e2e-dev/mobile (iOS/Android),
@e2e-dev/desktop (macOS, experimental), and @e2e-dev/electron (Electron
apps, experimental).
Start here: pick the reference for the job
Load only the one reference that matches the current task before acting. Each
stands on its own; inside a long reference, read its ## Contents list and
jump to the sections you need instead of loading unrelated topics upfront.
npx e2e guide <topic> prints the installed package's copy; prefer it when
versions differ.
| When you are | Topic | Read |
|---|---|---|
Adding e2e, writing e2e.config.ts, starting the app, configuring models or mobile targets |
setup |
references/setup.md |
Driving the running app live, checking UI changes, taking screenshots or videos, trying locators, recording lines over e2e mcp |
mcp |
references/mcp.md |
Writing or fixing a test (structure, fixtures, locators, matchers, sessions, browser, API tests) |
writing-tests |
references/writing-tests.md |
Adding agent.* steps, picking models, tuning cost/budgets, replay cache |
agent |
references/agent.md |
Running tests, CLI flags, CI, reporters, report.json, exit codes |
running |
references/running.md |
Fixing a failed run, error codes, rerunning fast, --headed, --debug, --ai-trace, reporting e2e bugs |
debugging |
references/debugging.md |
Running goal-driven exploration without a test file (e2e explore) |
explore |
references/explore.md |
| Running a bug bash or QA pass across an app or branch | bug-bash |
references/bug-bash.md |
References keep the rules and point to the docs for full API tables. A
pointer such as Full reference: docs/reference/cli.mdx. names a page that
ships in the installed package at node_modules/e2e/docs/reference/cli.mdx
and is online at https://e2e.com/docs/reference/cli. Read the page only when
you need an option, matcher, or flag the reference does not show. Complete
examples live at https://github.com/e2e-inc/e2e/tree/main/examples.
Workflow
- Inspect
e2e.config.ts(or.mts/.js/.mjs),package.json, and existing tests, fixtures, helpers, and page objects undertests/. Reuse existing fixtures, helpers, and locators instead of duplicating setup. If e2e is not installed and the user asked for it, readsetup. - Read the one matching reference (
writing-tests: always read "A complete file", "Structure", "Cases", and "Review" first, then only the API sections you need;mcpwhen driving live, writing steps as you walk and preferringrun_code;agentwhen addingagent.*steps). - Shape each file per
writing-tests("Structure"): one top-leveldescribeper feature, one behavior and one goal per test, arrange -> act -> assert with everyexpectandagent.assertat the end. Whene2e.config.tsconfigures a model or executor onagents.default(or on a namedagents.<name>, selected with{ agent: '<name>' }or--agent <name>), write user flows (forms, buttons, cart/CRUD mutations, navigation, auth) withagent.act(values inparams); reuse existing fixtures, helpers, and page objects, and do not avoidagent.acton new user flows merely because atest.setupor login file usesscreen.*. Never assert mid-way (use.waitFor()on a narrowed locator); name repeated locators/values; own server data and cleanup intest.extendfixtures (try/finally). - Audit every test before running:
- Prefer
agent.actwhen an agent is configured: normal UI flows (submitting forms, editing/deleting items, navigating, signing out) useagent.actwithparams(selecting{ agent: '<name>' }if only a named agent is configured) and end with a verifying matcher oragent.assertfor replay-cache confirmation (reservescreen.*actions for low-level mechanics like keyboard shortcuts, drag offsets, or empty submits,test.setupsign-in, or model-less configs). - One behavior per test (no undone actions or unchecked screens): split any test whose title combines two behaviors with "and". Never undo an action before asserting its effect (an end state equal to the start hides a no-op), and never navigate past a screen before checking what that test promised on it.
- Second item shown, never the first: in every test that removes,
edits, or toggles one item of a list, verify arrange adds two items (
A, thenB), act targets the *second item shown
- Prefer
Установить e2e в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл e2e?
Writes, runs, and debugs web, mobile, and desktop end-to-end tests with e2e (mixing agent.act goals with locator assertions), drives apps live over e2e mcp, and runs e2e explore bug bashes. Use when a project uses e2e or asks for end-to-end, browser, mobile, or agentic UI tests, live app checks, or QA bug bashes.
Как установить скилл e2e?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл e2e запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic