bmad-qa-generate-e2e-tests

Generate API and end-to-end tests for implemented features using the project's existing test framework.

1|Updated Sep 18, 2026
One-click install
npx skills add https://github.com/PastaSus/egg-defender --skill bmad-qa-generate-e2e-tests-pastasus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bmad-qa-generate-e2e-tests
Source: https://github.com/PastaSus/egg-defender/tree/main/.agents/skills/bmad-qa-generate-e2e-tests
Command: npx skills add https://github.com/PastaSus/egg-defender --skill bmad-qa-generate-e2e-tests-pastasus

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing automated API and E2E tests for newly implemented features is repetitive and time-consuming, and teams often skip it. This Skill automates test generation so features get verified coverage without manual test authoring. ## Core Features & Use Cases - Framework Detection: Scans package.json and existing test files to detect Playwright, Jest, Vitest, Cypress, or other frameworks, then follows the project's existing patterns. - API Test Generation: Creates tests covering status codes, response structure validation, happy paths, and critical error cases. - E2E Test Generation: Builds UI workflow tests using semantic locators (roles, labels, text) with linear, maintainable test flows. - Use Case: After implementing a checkout feature, ask the Skill to generate tests; it detects Playwright, writes API and E2E specs, runs them, fixes failures, and saves a coverage summary to test-summary.md. ## Quick Start Ask the agent to create QA automated tests for your checkout feature and it will detect the test framework, generate and run the tests, and produce a summary report.

Frequently Asked Questions about bmad-qa-generate-e2e-tests

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

FAQPage Schema
How do I generate E2E tests automatically for a feature?

Invoke the skill with a request like "create qa automated tests for [feature]". It detects your project's test framework, generates API and E2E tests following existing patterns, runs them, fixes failures, and saves a summary report.

What test frameworks does automated test generation support?

It works with whatever framework your project already uses, detected from package.json dependencies such as Playwright, Jest, Vitest, or Cypress. If none exists, it analyzes the stack and suggests an appropriate framework.

Can I generate tests for a whole directory instead of one feature?

Yes. You can specify a feature name, point to a directory like src/components/ to scan, or let the skill auto-discover features in the codebase before generating tests.

What happens if generated tests fail when run?

The skill executes the tests using the project's test command and fixes any failures immediately before completing. It only finishes once all generated tests pass and the summary is saved.

When should I use the Test Architect module instead?

Use the TEA module when you need risk-based test strategy, test design planning, quality gates, NFR assessment, or comprehensive coverage analysis. This skill focuses on straightforward happy-path and critical-error test generation.