Home/AI Code Generation & Quality/playwright-generate-test
P

playwright-generate-test

by @githubv
4.5(330)

Generates Playwright test scripts using Playwright MCP based on specific scenarios, simplifying the test creation process.

playwright-test-generationcodegenend-to-end-testingtest-automationbrowser-automationGitHub
Installation
npx skills add github/awesome-copilot --skill playwright-generate-test
compare_arrows

Before / After Comparison

1
Before

Manually writing Playwright test scripts is time-consuming and error-prone, especially for complex scenarios. Test coverage is difficult to guarantee, leading to high software quality risks and prolonged development cycles.

After

The Playwright test generator can automatically generate test scripts based on specific scenarios. It simplifies the test creation process, significantly improves testing efficiency and coverage, and ensures software quality.

SKILL.md

Test Generation with Playwright MCP

Your goal is to generate a Playwright test based on the provided scenario after completing all prescribed steps.

Specific Instructions

  • 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 prematurely or based solely on the scenario without completing all prescribed steps.
  • DO run steps one by one using the tools provided by the Playwright MCP.
  • Only after all steps are completed, emit a Playwright TypeScript test that uses @playwright/test based on message history
  • Save generated test file in the tests directory
  • Execute the test file and iterate until the test passes

User Reviews (0)

Write a Review

Effect
Usability
Docs
Compatibility

No reviews yet

Statistics

Installs12.5K
Rating4.5 / 5.0
Version
Updated2026年5月22日
Comparisons1

User Rating

4.5(330)
5
23%
4
51%
3
23%
2
2%
1
0%

Rate this Skill

0.0

Compatible Platforms

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

Timeline

Created2026年3月14日
Last Updated2026年5月22日