P
playwright-generate-test
by @githubv
4.5(330)
基于Playwright MCP的智能测试生成工具,根据业务场景自动创建端到端测试脚本,支持多浏览器兼容性测试和UI自动化,大幅降低测试编写成本,提升测试覆盖率和代码质量保障。
安装方式
npx skills add github/awesome-copilot --skill playwright-generate-testcompare_arrows
Before / After 效果对比
1 组使用前
手动编写Playwright测试脚本耗时且易出错,尤其对于复杂场景。测试覆盖率难以保证,导致软件质量风险高,开发周期延长。
使用后
Playwright测试生成器能基于特定场景自动生成测试脚本。简化测试创建流程,大幅提升测试效率和覆盖率,确保软件质量。
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/testbased on message history - Save generated test file in the tests directory
- Execute the test file and iterate until the test passes
用户评价 (0)
发表评价
效果
易用性
文档
兼容性
暂无评价
统计数据
安装量12.5K
评分4.5 / 5.0
版本
更新日期2026年5月22日
对比案例1 组
用户评分
4.5(330)
5
23%
4
51%
3
23%
2
2%
1
0%
为此 Skill 评分
0.0
兼容平台
🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI
时间线
创建2026年3月14日
最后更新2026年5月22日