e2e-test

Design end-to-end tests with Playwright or Cypress covering user flows, page objects, and CI integration.

1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts --skill e2e-test-kalilurrahman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: e2e-test
Source: https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts/tree/main/07-testing-quality/e2e-test
Command: npx skills add https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts --skill e2e-test-kalilurrahman

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing end-to-end tests that are stable, fast, and maintainable is hard — fragile selectors, explicit sleeps, and flaky CI runs erode trust in the test suite. This Skill guides the design of modern E2E tests that verify complete user journeys without the common pitfalls. ## Core Features & Use Cases - Framework Guidance: Compares Playwright and Cypress across multi-browser support, speed, auto-waiting, and mobile emulation to pick the right tool. - Stable Test Patterns: Provides page object patterns, data-testid selectors, auto-waiting, network interception, and authentication state reuse. - CI & Flake Reduction: Covers parallel execution, retries, screenshots/video on failure, GitHub Actions integration, and visual regression testing. - Use Case: You need to test a checkout flow across Chromium, Firefox, and WebKit. Use this Skill to generate a Playwright test with page objects, mocked API responses, seeded test data, and a CI workflow that runs the suite in parallel with failure artifacts. ## Quick Start Ask the AI to write Playwright end-to-end tests for your login and checkout flows with page objects and a GitHub Actions CI workflow.

Frequently Asked Questions about e2e-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write end-to-end tests with Playwright?

Playwright tests use the test and expect functions to navigate pages, fill forms, and assert outcomes with auto-waiting built in. Organize tests around critical user flows like login and checkout, and use page objects to keep selectors reusable.

Playwright vs Cypress: which should I choose for E2E testing?

Playwright supports Chromium, Firefox, and WebKit with fast parallel execution and real device emulation, making it better for flexibility. Cypress offers a simpler developer experience but limited browser support, so it suits teams prioritizing ease of use.

How do I reduce flaky E2E tests in CI?

Replace explicit sleeps with auto-waiting and network idle states, use stable data-testid selectors, and isolate tests by clearing cookies and storage. Configure 2 retries in CI and keep the flake rate under 5% by fixing or disabling unstable tests.

How do I run Playwright tests in GitHub Actions?

Add a workflow that checks out the repo, installs Node dependencies, runs npx playwright install --with-deps, then executes npx playwright test. Upload the playwright-report artifact so screenshots, videos, and traces are available for failed runs.

How do I handle authentication in Playwright tests?

Perform login once in a setup test and save the browser state with storageState to an auth.json file. Configure Playwright to reuse that state so subsequent tests start already authenticated without repeating the login flow.

How many E2E tests should a project have?

E2E tests should cover only critical user flows, typically 10 to 20 tests rather than hundreds. They are slow and expensive to maintain, so push broader coverage down to integration and unit tests.