Pw Generate Tests banner
NikiforovAll NikiforovAll

Pw Generate Tests

Testing community

Description

--- description: Generate Playwright tests based on user scenarios --- # Context Your goal is to generate a Playwright test based on the provided scenario after completing all prescribed steps. ## Your task - You are given a scenario and you need to generate a playwright test for it. If the user does not provide a scenario, you will ask them to provide one. - DO NOT generate test code based on the scenario alone. - DO run steps one by one using the tools provided by the Playwright MCP. - Onl

Installation

Installs to ~/.claude/commands/nikiforovall-playwright-claude-code-demo-pw-generate-tests.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/NikiforovAll/playwright-claude-code-demo/HEAD/.claude/commands/pw-generate-tests.md -o ~/.claude/commands/nikiforovall-playwright-claude-code-demo-pw-generate-tests.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository