playwright-generate-test

Generate Playwright TypeScript tests from scenarios and iterate until they pass.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/BrunoAMSilva/my-config --skill playwright-generate-test-brunoamsilva
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-generate-test
Source: https://github.com/BrunoAMSilva/my-config/tree/main/coding/skills/playwright-generate-test
Command: npx skills add https://github.com/BrunoAMSilva/my-config --skill playwright-generate-test-brunoamsilva

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Converts written test scenarios into executable Playwright TypeScript tests and automates running and iterating them until they pass, reducing manual test authoring and debugging time.

Core Features & Use Cases

  • Scenario-to-Test Generation: Transform user-provided scenarios into Playwright TypeScript tests using Playwright MCP.
  • Iterative Execution & Validation: Save generated tests in a tests directory, execute them, and iterate on failures until tests pass.
  • Use Case: Quickly generate and validate end-to-end tests for web app flows such as login, checkout, or form submission to accelerate QA and developer feedback loops.

Quick Start

Generate a Playwright test for a login flow scenario, save it to tests/login.spec.ts, run it, and iterate until it passes.

Frequently Asked Questions about playwright-generate-test

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

FAQPage Schema
How do I generate Playwright TypeScript tests from written scenarios?

Playwright e2e test automation involves iterative execution and validation. The tool saves generated tests to a directory, runs them using Playwright MCP, and automatically iterates on failures until the tests pass successfully.

What is the best way to automate end-to-end test creation for web app flows in Playwright?

Playwright e2e test automation involves iterative execution and validation. The tool saves generated tests to a directory, runs them using Playwright MCP, and automatically iterates on failures until the tests pass successfully.

Can I use Playwright MCP to run and validate generated e2e tests automatically?

Playwright e2e test automation involves iterative execution and validation. The tool saves generated tests to a directory, runs them using Playwright MCP, and automatically iterates on failures until the tests pass successfully.

Do I need TypeScript to convert scenarios into passing Playwright tests?

Playwright e2e test automation involves iterative execution and validation. The tool saves generated tests to a directory, runs them using Playwright MCP, and automatically iterates on failures until the tests pass successfully.

How does iterative test execution work when generating Playwright tests from scenarios?

Playwright e2e test automation involves iterative execution and validation. The tool saves generated tests to a directory, runs them using Playwright MCP, and automatically iterates on failures until the tests pass successfully.