Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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-incот e2e-inc★ 14 545 звёзд на GitHub371 установка в других каталогах

Об этом скилле

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

  1. Inspect e2e.config.ts (or .mts/.js/.mjs), package.json, and existing tests, fixtures, helpers, and page objects under tests/. Reuse existing fixtures, helpers, and locators instead of duplicating setup. If e2e is not installed and the user asked for it, read setup.
  2. Read the one matching reference (writing-tests: always read "A complete file", "Structure", "Cases", and "Review" first, then only the API sections you need; mcp when driving live, writing steps as you walk and preferring run_code; agent when adding agent.* steps).
  3. Shape each file per writing-tests ("Structure"): one top-level describe per feature, one behavior and one goal per test, arrange -> act -> assert with every expect and agent.assert at the end. When e2e.config.ts configures a model or executor on agents.default (or on a named agents.<name>, selected with { agent: '<name>' } or --agent <name>), write user flows (forms, buttons, cart/CRUD mutations, navigation, auth) with agent.act (values in params); reuse existing fixtures, helpers, and page objects, and do not avoid agent.act on new user flows merely because a test.setup or login file uses screen.*. Never assert mid-way (use .waitFor() on a narrowed locator); name repeated locators/values; own server data and cleanup in test.extend fixtures (try/finally).
  4. Audit every test before running:
    • Prefer agent.act when an agent is configured: normal UI flows (submitting forms, editing/deleting items, navigating, signing out) use agent.act with params (selecting { agent: '<name>' } if only a named agent is configured) and end with a verifying matcher or agent.assert for replay-cache confirmation (reserve screen.* actions for low-level mechanics like keyboard shortcuts, drag offsets, or empty submits, test.setup sign-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, then B), act targets the *second item shown
Полный SKILL.md на GitHub

Установить e2e в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yamlreferences/agent.mdreferences/bug-bash.mdreferences/debugging.mdreferences/explore.mdreferences/mcp.mdreferences/running.mdreferences/setup.mdreferences/writing-tests.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить e2e с