High-signal, cost-aware E2E testing for web applications.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionqa-testing-playwrightExecute the skills CLI command in your project's root directory to begin installation:
Fetches qa-testing-playwright from vasilyu1983/ai-agents-public and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate qa-testing-playwright. Access via /qa-testing-playwright in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
53
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
53
stars
High-signal, cost-aware E2E testing for web applications.
Core docs:
getByRole → getByLabel/getByText → getByTestId (fallback).| Command | Purpose |
|---|---|
npm init playwright@latest |
Initialize Playwright |
npx playwright test |
Run all tests |
npx playwright test --grep @smoke |
Run smoke tests |
npx playwright test --project=chromium |
Run a single project |
npx playwright test --ui |
Debug with UI mode |
npx playwright test --debug |
Step through a test |
npx playwright show-trace trace.zip |
Inspect trace artifacts |
npx playwright show-report |
Inspect HTML report |
| Scenario | Use Instead |
|---|---|
| Unit testing | Jest, Vitest, pytest |
| API contracts | qa-api-testing-contracts |
| Load testing | k6, Locust, Artillery |
| Mobile native | Appium |
// 1. Role locators (preferred)
await page.getByRole('button', { name: 'Sign in' }).click();
// 2. Label/text locators
await page.getByLabel('Email').fill('[email protected]');
// 3. Test IDs (fallback)
await page.getByTestId('user-avatar').click();
force: trueIf something is flaky:
expect(...) or a targeted wait.Make tests independent and deterministic
Use network mocking for third-party deps
Run smoke E2E on PRs; full regression on schedule
"Test everything E2E" as default
Weakening assertions to "fix" flakes
Auto-healing that weakens assertions
Run this preflight before expensive E2E runs to prevent avoidable failures.
rg --files tests/e2e | rg <target>).lsof -i :3001).webServer.--grep over broad globs during triage.test -f <error-context.md>).test-results index first.Before running Playwright in constrained environments (sandboxed terminals, CI containers, shared dev hosts), decide and document:
127.0.0.1 or 0.0.0.0, and verify selected port is free.EPERM/EACCES, escalate immediately instead of retry loops..next/lock and terminate stale build/dev PIDs before rerun.--workers=1.EADDRINUSE on Playwright web server port| Resource | Purpose |
|---|---|
| references/playwright-mcp.md | MCP & AI testing |
| references/playwright-patterns.md | Advanced patterns |
| references/playwright-ci.md | CI configurations |
| references/playwright-authentication.md | Auth patterns and session management |
| references/visual-regression-testing.md | Visual regression strategies |
| references/api-testing-playwright.md | API testing with APIRequestContext |
| references/playwright-preflight-sandbox.md | Sandbox/port preflight and escalation decisions |
| data/sources.json | Documentation links |
| Template | Purpose |
|---|---|
| assets/template-playwright-e2e-review-checklist.md | E2E review checklist |
| assets/template-playwright-fail-on-flaky-reporter.js | Fail CI on rerun-pass flakes |
| assets/template-playwright-preflight-checklist.md | Preflight checklist for port/sandbox/timeouts |
| Skill | Purpose |
|---|---|
| qa-testing-strategy | Overall test strategy |
| software-frontend | Frontend development |
| ops-devops-platform | CI/CD integration |
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
vasilyu1983/ai-agents-public
microsoft/playwright-cli
github/awesome-copilot
aj-geddes/useful-ai-prompts
github/awesome-copilot
refoundai/lenny-skills
qa-testing-playwright fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
Useful defaults in qa-testing-playwright — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
qa-testing-playwright has been reliable in day-to-day use. Documentation quality is above average for community skills.
Registry listing for qa-testing-playwright matched our evaluation — installs cleanly and behaves as described in the markdown.
qa-testing-playwright is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
qa-testing-playwright reduced setup friction for our internal harness; good balance of opinion and flexibility.
Solid pick for teams standardizing on skills: qa-testing-playwright is focused, and the summary matches what you get after install.
qa-testing-playwright reduced setup friction for our internal harness; good balance of opinion and flexibility.
Keeps context tight: qa-testing-playwright is the kind of skill you can hand to a new teammate without a long onboarding doc.
Registry listing for qa-testing-playwright matched our evaluation — installs cleanly and behaves as described in the markdown.
showing 1-10 of 31