playwright-generate-test

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

Updated Nov 21, 2025
One-click install
npx skills add https://github.com/lluppesms/dadabase.demo --skill playwright-generate-test-lluppesms
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-generate-test
Source: https://github.com/lluppesms/dadabase.demo/tree/main/.github/skills/playwright-generate-test
Command: npx skills add https://github.com/lluppesms/dadabase.demo --skill playwright-generate-test-lluppesms

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the creation of Playwright tests by translating user-defined scenarios into executable TypeScript code, streamlining the testing process.

Core Features & Use Cases

  • Scenario-to-Test Generation: Converts natural language scenarios into Playwright tests.
  • Iterative Test Development: Executes generated tests and refines them until they pass.
  • Use Case: A developer can describe a user flow, like "log in with valid credentials and navigate to the dashboard," and have a Playwright test generated and verified automatically.

Quick Start

Use the playwright-generate-test skill to create a test for the scenario: user successfully adds an item to the shopping cart.

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 tests from natural language scenarios?

To generate Playwright tests from scenarios, provide a descriptive user flow like "log in and navigate to the dashboard." The system translates this natural language input into executable TypeScript code within the @playwright/test framework.

Can I automate e2e testing by describing user flows in plain English?

Yes, you can automate e2e testing by describing user flows in plain English. The system converts your descriptive scenarios into executable TypeScript code, streamlining the creation of automated Playwright tests.

Does the generated Playwright test execute and refine itself automatically?

Yes, the generated Playwright test executes and refines itself automatically. The system runs the generated TypeScript code and iterates on the test until it passes, ensuring functional test coverage without manual intervention.

How do I create TypeScript tests for CI/CD using scenario descriptions?

You create TypeScript tests for CI/CD by inputting scenario descriptions of your user flows. The system automatically translates these descriptions into functional Playwright test scripts suitable for automation pipelines.

What is the best way to automate Playwright test generation for user flows?

The best way to automate Playwright test generation is to input descriptive user flow scenarios. The system translates them into executable TypeScript code, executes the tests, and iterates until they pass.