
Playwright Generate Test
github/awesome-copilotOfficial
The playwright-generate-test skill generates Playwright tests from user-provided scenarios by systematically executing steps through the Playwright MCP tools, then saving and validating the generated TypeScript test files. It serves developers who need to create automated browser tests and solves the problem of manually writing test code by automating test generation and ensuring tests pass before completion.
- skills.sh installs
- 18.2K
- GitHub stars
- 41K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add github/awesome-copilot --skill playwright-generate-test --agent claude-codeInstalls into .claude/skills of the current project.
Files
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
Sponsors
Promote your product hereReach 125k+ visitors monthlyPromote your product hereReach 125k+ visitors monthly
Agent CaffeineSponsoredClose your lid, come back to finished work
SnugSponsoredThe clipboard manager for the AI eraPromote your product hereReach 125k+ visitors monthly
WaxSponsoredBlock anything with supervision, without erasing your iPhonePromote your product hereReach 125k+ visitors monthly
knobsSponsoredSee your site on any phone, any day, in any language
Details
- Repository
- github.com/github/awesome-copilot
- Categories
- Testing & QA, Git & Pull Requests, AI & Agent Building
More from github/awesome-copilot
All 318- Github Issues17.7K
- Conventional Commit17.3K
- Postgresql Optimization16.9K
- Dotnet Best Practices16.1K
- Sql Optimization16K
- Sql Code Review15.6K
- Chrome Devtools15.4K
- Microsoft Docs15K
- Playwright Explore Website14.8K
- Azure Devops Cli14.8K
- Javascript Typescript Jest14.5K
- Nuget Manager14.5K
- Microsoft Code Reference14.4K
- Web Design Reviewer14.3K
- Playwright Automation Fill In Form13.7K
- Create Specification13.6K
- Game Engine13.4K
- Create Agentsmd13.3K
- Refactor Plan13K
- Pytest Coverage13K
- Penpot Uiux Design12.9K
- Memory Merger12.9K
- Postgresql Code Review12.8K
- Create Implementation Plan12.6K
Recommended
More Testing & QA2
qa-test-plannerdavila7/claude-code-templatesGenerate comprehensive test plans, manual test cases, regression test suites, and bug reports for QA engineers. Includes Figma MCP integration for design valida394skills.sh installs
3
bun-test-coveragesecondsky/claude-skillsUse for test coverage with Bun, --coverage flag, lcov reports, thresholds, and CI integration.337skills.sh installs
4
test-coverage-improveropenai/openai-agents-pythonImprove test coverage in the OpenAI Agents Python repository: run `make coverage`, inspect coverage artifacts, identify low-coverage files, propose high-impact 266skills.sh installs
5
test-design-techniquesproffesor-for-testing/agentic-qeSystematic test design with boundary value analysis, equivalence partitioning, decision tables, state transition testing, and combinatorial testing. Use when de202skills.sh installs
6
test-case-writingnaodeng/awesome-qa-skillsUse this skill when you need to create high-quality test cases with normal, exception, and boundary scenarios; triggers include test case writing and test desig455skills.sh installs