e2e-testing

Plan, generate, and heal Playwright end-to-end tests for web applications.

7|2|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/mthines/agent-skills --skill e2e-testing-mthines
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: e2e-testing
Source: https://github.com/mthines/agent-skills/tree/main/skills/e2e-testing
Command: npx skills add https://github.com/mthines/agent-skills --skill e2e-testing-mthines

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

This Skill enables automated planning, generation, and healing of end-to-end tests for web applications, reducing manual effort and improving test reliability.

Core Features & Use Cases

  • Test Planning and Indexing: Creates structured Markdown plans for user flows, enabling clear documentation.
  • Test Generation: Converts specs into Playwright test scripts, ensuring consistent and accurate test implementations.
  • Test Healing: Detects and repairs locator failures by proposing source diffs and data-testid additions, enhancing test robustness.
  • Use Case: Automate the creation of reliable E2E tests for complex user flows in web apps, especially those with dynamic or flaky UI elements.

Quick Start

Use this Skill to generate a test from an existing spec file by running the generator command, then execute the test with Playwright, and invoke the healer on failure to maintain test accuracy.

Frequently Asked Questions about e2e-testing

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

FAQPage Schema
How do I automate Playwright test generation from spec files?

You can automate Playwright test generation by converting existing spec files into Playwright test scripts using the generator command. This process ensures consistent and accurate test implementations for complex web application user flows.

What is test healing for Playwright and how does it fix locator failures?

Test healing for Playwright is a mechanism that detects and repairs locator failures by proposing source diffs and adding data-testid attributes. This approach enhances test robustness and maintains stability against dynamic or flaky UI changes.

Do I need a Playwright MCP setup to generate end-to-end tests?

Yes, a Playwright MCP setup is required to automate end-to-end test planning, generation, and healing. The workflow also requires adherence to specific locator rules and integration with your existing code repositories.

How do I plan complex user flows for end-to-end testing?

You can plan complex user flows for end-to-end testing by creating structured Markdown plans that index and document the application's navigation paths. This provides clear documentation and enables consistent test generation.

How do I fix flaky E2E tests caused by UI changes?

You can fix flaky E2E tests caused by UI changes by invoking a test healing process that proposes source updates and locator improvements. This ensures test stability by adding robust data-testid attributes to the application source.