generate-e2e-tests

Generate and update E2E tests for web applications using Playwright MCP.

8|4|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/vfarcic/dot-ai-ui --skill generate-e2e-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-e2e-tests
Source: https://github.com/vfarcic/dot-ai-ui/tree/main/.claude/skills/generate-e2e-tests
Command: npx skills add https://github.com/vfarcic/dot-ai-ui --skill generate-e2e-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the creation and updating of End-to-End (E2E) tests for web applications, transforming manual user interactions into robust, maintainable test scripts.

Core Features & Use Cases

  • Scenario-Based Testing: Focuses on user journeys and complete feature flows rather than isolated element checks.
  • Exploration and Analysis: Uses Playwright MCP to explore application UIs, capture snapshots, and interact with elements to understand functionality.
  • Test Plan Generation: Proposes test scenarios and identifies coverage gaps by analyzing existing test suites.
  • Use Case: After a new feature is developed, this Skill can be used to automatically generate E2E tests that simulate how a user would interact with the feature from start to finish, ensuring it works as expected.

Quick Start

Use the generate-e2e-tests skill to explore the new user registration feature and generate a test plan.

Frequently Asked Questions about generate-e2e-tests

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

FAQPage Schema
How do I automatically generate E2E tests from user journeys?

E2E test generation from user journeys is automated by exploring the application UI, capturing snapshots, and simulating complete user flows to produce maintainable Playwright test scripts. It analyzes existing coverage to propose new test scenarios.

What is the best way to find coverage gaps in existing Playwright test suites?

Finding coverage gaps in Playwright test suites is handled by analyzing existing tests and comparing them against explored user journeys. The tool proposes new or extended test scenarios to ensure complete feature integrity.

How does Playwright MCP explore web application UIs for test generation?

Playwright MCP explores web application UIs by interacting with elements and capturing snapshots to understand functionality. This mechanism allows the test generator to map complete user flows and interactions for scenario-based testing.

Can I update existing E2E tests for new features without rewriting scripts?

Updating existing E2E tests for new features is supported by analyzing current test coverage and proposing extensions to existing scripts. It simulates how a user interacts with the new feature from start to finish to update scenarios.

Does E2E test generation work with isolated element checks or full user flows?

E2E test generation focuses on full user flows and complete feature scenarios rather than isolated element checks. This approach ensures feature integrity by simulating complete user journeys from start to finish.