Playwright
Curated Playwright testing guide for Next.js apps covering selectors, auth reuse, mocking, and hydration.
- CCM score
- 47 of 100
- skills.sh installs
- 1.2K
- GitHub stars
- 228
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers 43 rules across 8 categories, from test architecture and selectors to waiting, auth state, mocking, and CI debugging
- Includes per-rule reference files for topics such as
loc-role-selectors,auth-storage-state, andnext-wait-hydration, plus a rule template for new entries - Enforces priority ordering so critical items like test isolation and role-based selectors come before performance and CI tuning
- Designed for teams writing or reviewing E2E tests in Next.js App Router projects that need fewer flaky failures
Install
$ npx -y skills add pproenca/dot-skills --skill playwright -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Playwright + Next.js Testing Best Practices
Comprehensive testing optimization guide for Playwright with Next.js applications. Contains 43 rules across 8 categories, prioritized by impact to guide reliable, fast, and maintainable E2E tests.
When to Apply
Reference these guidelines when:
- Writing new Playwright tests for Next.js apps
- Debugging flaky or failing tests
- Optimizing test execution speed
- Setting up authentication state reuse
- Configuring CI/CD pipelines for testing
- Testing Server Components and App Router features
- Reviewing test code for reliability issues
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Test Architecture | CRITICAL | arch- |
| 2 | Selectors & Locators | CRITICAL | loc- |
| 3 | Waiting & Assertions | HIGH | wait- |
| 4 | Authentication & State | HIGH | auth- |
| 5 | Mocking & Network | MEDIUM-HIGH | mock- |
| 6 | Next.js Integration | MEDIUM | next- |
| 7 | Performance & Speed | MEDIUM | perf- |
| 8 | Debugging & CI | LOW-MEDIUM | debug- |
Quick Reference
1. Test Architecture (CRITICAL)
Details
- Repository
- github.com/pproenca/dot-skills
- Categories
- Testing & QA, Frontend & UI Code
- First seen
- Jun 3, 2026
More from pproenca/dot-skills
All 100- Framer Motion1.2K
- Wxt Browser Extensions1.1K
- Tanstack Query1.1K
- Msw917
- Clean Code876
- Terminal Ui873
- Ui Design842
- Typescript Refactor814
- React Refactor807
- Chrome Extension Ui746
- Shadcn745
- Chrome Extension739
- Shell717
- Tailwind670
- Refactor665
- Expo572
- React511
- Tailwind Responsive Ui486
- Tailwind Ui Refactor478
- Zustand468
- Debug456
- Ios Design452
- Feature Spec442
- Feature Arch437
Similar to Playwright
More Testing & QAe2e-testinghieutrtr/ai1-skills1.6K installsPlaywright E2E testing patterns for full-stack Python/React apps, covering page objects, selectors, waits, and auth reuse.
e2e-testing-patternswshobson/agents25.6K installsPractical E2E testing guidance for Playwright and Cypress covering selectors, flaky-test fixes, and debugging workflows.
vitestpproenca/dot-skills8.1K installsCatalog of 44 Vitest best-practice rules covering async tests, setup, mocking, performance, and snapshots.
webapp-testingvudovn/ag-kit331 installsWeb application testing guide covering E2E flows, Playwright setup, and deep route audits.
vue-testing-best-practicesantfu/skills17.2K installsTesting guide for Vue.js components covering Vitest, Vue Test Utils, mocking, and Playwright E2E tests.
react-testing-librarypproenca/dot-skills433 installsBest-practice guide with 43 rules for writing user-centric React Testing Library tests and reviewing them for anti-patterns.