playwright-generate-test

Generate Playwright TypeScript tests from natural language scenarios.

Updated Dec 28, 2025
One-click install
npx skills add https://github.com/74nu5/Narratum --skill playwright-generate-test-74nu5
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-generate-test
Source: https://github.com/74nu5/Narratum/tree/main/.github/skills/playwright-generate-test
Command: npx skills add https://github.com/74nu5/Narratum --skill playwright-generate-test-74nu5

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

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

Core Features & Use Cases

  • Scenario-to-Test Conversion: Generates Playwright tests based on detailed user scenarios.
  • Iterative Test Development: Executes generated tests and iterates until they pass, ensuring reliability.
  • Use Case: A QA engineer needs to create a new end-to-end test for a complex user flow. They provide a detailed scenario, and this Skill generates the Playwright test code, saving significant manual coding time.

Quick Start

Use the playwright-generate-test skill to generate a Playwright test for the scenario: 'User logs in, navigates to the dashboard, and creates a new project.'

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?

You can generate Playwright tests from natural language scenarios by providing a detailed user flow. This Skill translates your scenario into executable Playwright TypeScript code, saving the test files automatically.

Can I automate TypeScript test creation for complex e2e testing workflows?

Yes, you can automate TypeScript test creation for complex e2e testing workflows. The Skill translates detailed user scenarios into executable Playwright TypeScript code, automating the manual coding process.

Does the generated Playwright test code run automatically until it passes?

Yes, the generated Playwright test code runs automatically until it passes. The Skill executes the generated tests and iterates on the code until the tests pass, ensuring reliability.

What is the best way to convert user flow scenarios into QA automation scripts?

The best way to convert user flow scenarios into QA automation scripts is using a scenario-to-test conversion tool. This Skill translates your detailed scenarios directly into executable Playwright TypeScript test files.

Do I need to write TypeScript manually to build Playwright e2e tests?

No, you do not need to write TypeScript manually to build Playwright e2e tests. The Skill handles the code generation by translating your natural language scenarios into executable TypeScript test files.