playwright-engineering
Installation
SKILL.md
Playwright Engineering
Use this skill when
- Writing browser E2E tests
- Configuring parallel workers and sharding
- Debugging flaky browser tests
Do not use this skill when
- Non-browser API testing
- Low-level unit tests
Instructions
- Use data-testid or role locators for stability.
- Emulate realistic network conditions and devices where relevant.
- Prefer web-first assertions (expect(locator).toBeVisible).
- Isolate tests with fixtures and per-test context.
- Capture traces/screenshots on failure for diagnosis.
- Run with WebServer config to manage app lifecycle in CI.
- Shard across workers on CI.