Individual skill
playwright
Playwright end-to-end tests and flaky-test fixes.
skills/playwright/SKILL.md
Source commit b210600fdf49441ee1efeca2cbdc05599ec03019
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 42
- Repository last updated
- Nov 4, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- ai-agents Repository topic
- ai-coding-assistant Repository topic
- claude-code Repository topic
- codex Repository topic
- cursor Repository topic
- frontend Repository topic
- nextjs Repository topic
- opencode Repository topic
- react Repository topic
- testing Derived category
- testing-browser Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 6,357 bytesSKILL.mdcore · 6,357 bytesreferences/arch-cleanup-state.mddoc · 2,509 bytesreferences/arch-fixtures.mddoc · 2,590 bytesreferences/arch-page-object-model.mddoc · 2,436 bytesreferences/arch-parallel-execution.mddoc · 2,513 bytesreferences/arch-test-isolation.mddoc · 1,780 bytesreferences/arch-test-production.mddoc · 2,021 bytesreferences/assert-aria-snapshots.mddoc · 2,142 bytesreferences/auth-api-login.mddoc · 2,746 bytesreferences/auth-multiple-roles.mddoc · 3,310 bytesreferences/auth-parallel-workers.mddoc · 3,093 bytesreferences/auth-session-storage.mddoc · 3,234 bytesreferences/auth-storage-state.mddoc · 2,789 bytesreferences/debug-ci-reporters.mddoc · 1,904 bytesreferences/debug-inspector.mddoc · 2,124 bytesreferences/debug-screenshots-videos.mddoc · 2,101 bytesreferences/debug-trace-viewer.mddoc · 2,282 bytesreferences/loc-avoid-xpath.mddoc · 2,150 bytesreferences/loc-chained-locators.mddoc · 2,728 bytesreferences/loc-data-testid.mddoc · 2,311 bytesreferences/loc-frame-locator.mddoc · 2,219 bytesreferences/loc-label-selectors.mddoc · 2,330 bytesreferences/loc-placeholder-selector.mddoc · 2,320 bytesreferences/loc-role-selectors.mddoc · 1,989 bytesreferences/loc-text-selectors.mddoc · 2,138 bytesreferences/mock-abort-requests.mddoc · 2,681 bytesreferences/mock-api-responses.mddoc · 2,589 bytesreferences/mock-har-files.mddoc · 2,946 bytesreferences/mock-intercept-modify.mddoc · 2,663 bytesreferences/mock-network-conditions.mddoc · 2,767 bytesreferences/next-app-router-navigation.mddoc · 2,768 bytesreferences/next-baseurl-config.mddoc · 2,705 bytesreferences/next-server-actions.mddoc · 2,885 bytesreferences/next-server-components.mddoc · 2,718 bytesreferences/next-wait-hydration.mddoc · 2,893 bytesreferences/perf-browser-selection.mddoc · 2,735 bytesreferences/perf-headless-ci.mddoc · 2,124 bytesreferences/perf-retries.mddoc · 2,661 bytesreferences/perf-reuse-server.mddoc · 2,415 bytesreferences/perf-sharding.mddoc · 2,557 bytesreferences/wait-action-retries.mddoc · 2,549 bytesreferences/wait-avoid-hard-waits.mddoc · 2,660 bytesreferences/wait-custom-timeout.mddoc · 2,466 bytesreferences/wait-network-idle.mddoc · 2,287 bytesreferences/wait-soft-assertions.mddoc · 2,888 bytesreferences/wait-web-first-assertions.mddoc · 2,475 bytes
Read excerpt
# Playwright + Next.js Testing Best Practices
Comprehensive testing optimization guide for Playwright with Next.js applications. Contains 45 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