e2e-playwright
Deep reference for reliable Playwright E2E tests — role/accessible locators over CSS, web-first assertions and auto-waiting (no hard sleeps), fixtures and storageState auth reuse, network mocking, flakiness reduction, and CI sharding/traces. Worked TS specs plus a runnable spec linter.
Included with Vanara Pro ($10/mo) — unlocks all 206 items. See pricing →
Overview
Reliable end-to-end tests come from one discipline: select the page like a user, and wait on application state — never on the clock. A flaky suite is worse than no suite; it trains the team to ignore red. This skill is the deep reference for building a Playwright suite people actually trust. Heavy detail lives in references/; copy-paste material in examples/; a runnable spec linter in scripts/.
What it covers
- Locators: select like a user
- Auto-waiting and web-first assertions
- Fixtures and auth reuse (storageState)
- Network mocking for determinism
- Reducing flakiness
- CI: sharding, traces, retries
- CI — sharding, retries, traces
- Fixtures and authentication reuse