web-e2e-overview
БесплатноБез исполняемых скриптовНе проверенUse when a web app has no E2E tests yet, a team is choosing or replacing an E2E framework, or a first browser test must go green. Explains what E2E covers…
от testland★ 18 звёзд на GitHubОб этом скилле
web-e2e-overview
What web E2E testing is
Web end-to-end (E2E) testing drives a real browser the way a user would: a page is loaded, interactions are performed (clicks, form fills, navigations), and outcomes are asserted against what the user should see. Per [playwright.dev/docs/intro][pwi]: "Playwright Test is an end-to-end test framework for modern web apps. It bundles test runner, assertions, isolation, parallelization and rich tooling." That bundle is what distinguishes an E2E framework from a bare browser-automation library: a runner, an assertion library with retry, per-test isolation, and parallelism.
E2E sits above unit and integration tests, not instead of them. Unit tests call a function; integration tests call a module against a real dependency; E2E boots the whole stack (browser, app, API, database) and checks a user journey. It is the only layer that catches "the button is wired to the wrong handler", and the most expensive layer to own: per [martinfowler.com/articles/practical-test-pyramid][ptp], E2E tests "are notoriously flaky and often fail for unexpected and unforeseeable reasons" (browser quirks, timing, animations, popups), so "you should aim to reduce the number of end-to-end tests to a bare minimum" and spend them on core journeys only: search a product, add to basket, check out.
Practical starting budget (a convention among practitioners, not a documented standard): five to fifteen E2E specs covering signup, login, the primary create / read / update path, checkout or submit, and one permissions case. Everything else belongs a layer down.
Choosing a framework
Read the repo first, then the table. Every row is keyed on something you can observe without asking anyone. Take the first row that matches, top to bottom.
# Run at the repo root before choosing anything.
ls playwright.config.* cypress.config.* wdio.conf.* .testcaferc.* nightwatch.conf.* 2>/dev/null
ls -d cypress e2e tests/e2e 2>/dev/null
grep -iE '"(@playwright/test|cypress|webdriverio|@wdio/cli|puppeteer|testcafe|nightwatch|selenium-webdriver)"' package.json
grep -riE 'selenium-(java|webdriver)|Selenium\.WebDriver' pom.xml build.gradle* requirements.txt *.csproj Gemfile 2>/dev/null
| What you observe | Use | Why |
|---|---|---|
playwright.config.ts / .js, or @playwright/test in package.json |
Playwright | Already chosen. Add specs, do not add a second runner. |
cypress.config.ts / .js, or a cypress/ directory |
Cypress | Already chosen. Extend it; a migration is a separate project with its own budget. |
wdio.conf.ts / .js |
WebdriverIO | Already chosen. |
.testcaferc.json / .testcaferc.js |
TestCafe | Already chosen. |
nightwatch.conf.*, or nightwatch in package.json |
Nightwatch (legacy) | Keep it running, but plan a migration to Playwright or WebdriverIO rather than growing the suite. |
selenium-java, selenium-webdriver, or Selenium.WebDriver in a build file |
Selenium WebDriver | Already chosen, usually with years of page objects behind it. |
No E2E config anywhere, and the repo has a package.json |
Playwright | Default for greenfield. One install covers Chromium, Firefox and WebKit pwi. |
| No E2E config, and the team will not add Node (pure Java / C# / Ruby / Python shop) | Selenium WebDriver | The only option with first-class bindings in Java, Python, C#, Ruby, JavaScript and Kotlin sellib. |
| Safari / WebKit coverage is a stated requirement | Playwright | Ships WebKit in the default install pwi. Cypress lists WebKit as experimental and opt-in cybr. |
| The same suite must also drive a native mobile or Electron app | WebdriverIO | Automates web, hybrid and native mobile via Appium, and native desktop such as Electron wdiowhy. |
| The task is scraping, screenshotting or HTML-to-PDF, with no assertions | Puppeteer | A library, not a test framework: "a JavaScript library which provides a high-level API to control Chrome or Firefox" ppt. No runner, no isolation, no parallelism. |
| A no-WebDriver architecture is a hard constraint and its wait model appeals | TestCafe | Runs on Node.js and waits automatically for selectors, actions, assertions, XHR and redirects tcwait. |
| Real iOS / Android devices, old browser versions, or a large OS matrix are required | Keep the runner above, add a cloud grid | See "Real devices and browser matrices" below. This is an execution target, not a framework choice. |
Tie-break when two rows both look true: whatever is already in the repo wins. A second
E2E framework doubles the CI cost, the selector conventions and the flake surface, and
buys coverage you could get by adding one grid config to the framework you have. If the
repo shows two competing frameworks (@playwright/test AND cypress both in
devDependencies), stop and ask which is canonical - do not silently pick one. And never
recommend a framework swap on an existing pro
Установить web-e2e-overview в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл web-e2e-overview?
Use when a web app has no E2E tests yet, a team is choosing or replacing an E2E framework, or a first browser test must go green. Explains what E2E covers, picks between Playwright, Cypress, Selenium, WebdriverIO, Puppeteer, TestCafe and cloud grids, and the traps that make suites flaky.
Как установить скилл web-e2e-overview?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл web-e2e-overview запускает скрипты?
Нет, скилл состоит только из инструкций (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