Command Palette

Search for a command to run...

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

e2e-test

БесплатноБез исполняемых скриптовНе проверен

End-to-end testing workflow for validating complete user journeys through web applications using claude-in-chrome MCP. Specializes in test assertions, suite…

DNYoussefот DNYoussef★ 34 звезды на GitHub20 установок в других каталогах

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

End-to-End Testing

Kanitsal Cerceve (Evidential Frame Activation)

Kaynak dogrulama modu etkin.

[assert|neutral] Systematic end-to-end testing workflow with assertion framework, evidence collection, and structured reporting [ground:skill-design] [conf:0.95] [state:confirmed]

Overview

End-to-end testing validates complete user journeys through web applications, ensuring that integrated systems work correctly from the user's perspective. This skill builds upon browser-automation but adds formal testing constructs: assertions, test suites, fixtures, and detailed pass/fail reporting.

Philosophy: E2E tests are living documentation of expected user behavior. They must be deterministic, maintainable, and produce actionable failure reports.

Key Differences from browser-automation:

Aspect browser-automation e2e-test
Primary Goal Complete workflow tasks Validate expected behavior
Output Task completion Pass/Fail test report
Error Handling Recover and continue Fail fast with evidence
Evidence Optional screenshots Mandatory assertions + screenshots
Organization Single workflow Test suites with fixtures
Cleanup Best effort Mandatory teardown

Value Proposition: Transform manual QA checklists into automated, repeatable test suites that catch regressions before users do.

When to Use This Skill

Primary Use Cases:

  • Login/authentication flow validation
  • User registration and onboarding verification
  • Checkout and payment flow testing
  • Form submission with validation rules
  • CRUD operations (Create, Read, Update, Delete)
  • Multi-step wizard completion
  • Cross-page state persistence
  • Visual regression detection

Apply When:

  • Validating critical user journeys before deployment
  • Regression testing after code changes
  • Smoke testing production environments
  • Acceptance criteria verification
  • Visual snapshot comparison needed

Trigger Keywords:

  • "e2e test", "end-to-end test"
  • "validate user flow", "test the journey"
  • "check if login works", "verify checkout"
  • "regression test", "smoke test"
  • "acceptance test"

When NOT to Use This Skill

  • Unit testing (use testing frameworks directly)
  • API testing without UI (use API testing tools)
  • Performance/load testing (use delivery-essential-commands-load-test)
  • Single-action validation (use browser-automation)
  • Non-web applications (mobile, desktop)
  • Static content verification (use visual tools)

Core Principles

Principle 1: Assertion-First Design

Mandate: Every test step MUST have explicit success/failure criteria defined upfront.

Rationale: Tests without assertions are just scripts. Explicit assertions make failures debuggable and intentions clear.

In Practice:

  • Define expected outcomes before execution
  • Use multiple assertion types (DOM, visual, URL, text)
  • Fail immediately on assertion failure
  • Capture evidence at assertion points

Principle 2: Test Suite Organization

Mandate: Group related tests into suites with shared setup/teardown.

Rationale: Test organization reduces duplication, improves maintainability, and enables selective test runs.

In Practice:

  • Suite = collection of related test cases
  • Fixtures = reusable setup/teardown logic
  • Each test case is independent (no cross-test dependencies)
  • Clear naming: suite_feature_scenario

Principle 3: Evidence-Based Verdicts

Mandate: Every test result MUST include visual evidence (screenshots) at assertion points.

Rationale: Screenshots provide ground truth for debugging failures and serve as visual documentation.

In Practice:

  • Screenshot before and after critical actions
  • Capture DOM state at assertion points
  • Store evidence with test results
  • Enable visual comparison for regression detection

Principle 4: Deterministic Execution

Mandate: Tests must produce identical results on identical inputs.

Rationale: Flaky tests erode confidence. Determinism enables reliable CI/CD integration.

In Practice:

  • Explicit waits over implicit timeouts
  • Stable element selection (data-testid preferred)
  • Isolated test data (fixtures create/destroy)
  • Retry logic only for infrastructure issues

Principle 5: Actionable Failure Reports

Mandate: Failed tests MUST produce reports that pinpoint the failure without additional investigation.

Rationale: Time-to-fix correlates with failure report quality. Good reports = faster debugging.

In Practice:

  • Include: step that failed, expected vs actual, screenshot
  • Show assertion context (what was being verified)
  • Provide DOM snapshot at failure point
  • Link to relevant code/documentation

Test Framework Concepts

Test Suite Structure

test_suite:
  name: "Login Flow Tests"
  description: "Validate user authentication scenarios"

  fixtures:
    setup:
      - action: "create_test_user"
        params: {
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

FAQ

Что делает скилл e2e-test?

End-to-end testing workflow for validating complete user journeys through web applications using claude-in-chrome MCP. Specializes in test assertions, suite organization, evidence collection, and pass/fail reporting.

Как установить скилл e2e-test?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл e2e-test запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить e2e-test с