Course
End-to-End Web Testing
A practitioner's guide to Playwright end-to-end suites that survive real browsers, parallel CI, changing data, and visual drift without becoming a flake factory.
Reviews
Enrolled members can rate this course.
No reviews yet.
Designing Tests That Do Not Flake
Build the right mental model for browser automation, choose stable interaction contracts, and wait on application state instead of time.
- 01The Playwright Mental Model: Browsers, Contexts, and Auto-WaitingUnderstand what Playwright actually controls, how browser contexts isolate state, and why actionability checks matter more than sleeps.24mOpen
- 02Locators That Survive RefactorsChoose role, label, text, and test-id locators based on user-visible contracts instead of brittle DOM structure.22mOpen
- 03Deterministic Waiting, Timeouts, and Application SignalsReplace sleeps with explicit state transitions, bounded response waits, clock control, and assertions that retry for the right reason.26mOpen
Isolation, State, and Network Control
Run tests in parallel without cross-contamination, control backend state deliberately, and mock the network at the right layer.
- 01Parallelism and Test Isolation Without Cross-ContaminationDesign workers, contexts, accounts, and shared resources so tests can run concurrently without depending on execution order.25mOpen
- 02Seeding State, Authentication, and Storage State CorrectlySet up backend state through controlled APIs, reuse authentication safely, and avoid driving the UI for data the test does not care about.24mOpen
- 03Network Mocking and Interception at the Right LayerUse Playwright route interception for boundary simulation, understand what it cannot mock, and avoid turning tests into implementation puppetry.27mOpen
Visual Regression and CI Operations
Make screenshots deterministic, integrate Playwright into CI with useful artifacts, and manage flaky tests without normalizing failure.
- 01Visual Regression Testing That Is Actually DeterministicControl viewport, fonts, data, motion, time, and rendering noise so screenshot diffs reveal product changes rather than environmental randomness.26mOpen
- 02CI Integration That Stays Green: Sharding, Artifacts, and RetriesConfigure Playwright in CI with explicit browsers, shards, traces, reports, and retry semantics that expose instability rather than hiding it.25mOpen
- 03Debugging Flakes, Traces, and the Quarantine TrapTriage intermittent failures systematically with traces, repeatability experiments, ownership, and quarantine rules that expire instead of becoming a graveyard.28mOpen