Advanced Playwright Techniques for flawless testing
summary
Shows concrete Playwright recipes: use locators and Playwright assertions to auto-retry, attach annotations clickable in HTML report, group actions with test.step for cleaner traces, and mock a single API field to force a specific vote average (demo sets it to 7.02) while still validating DOM. Demonstrates mocking external routes with fulfilled HTML, reusing a saved storageState login setup across projects, UI-mode trace inspection, and CLI shortcuts (103 tests, 5 workers → 2 failed, 101 passed; use --last-failed and --only-changed).
AI-written summary · about
chapters (7)
- 0:00Introduction
- 1:12Why use Playwright
- 2:14Key testing tips
- 5:02API mocking demo
- 9:14Setup tests and dependencies
- 11:43CLI optimizations
- 12:44Community and resources
related talks
51mAdvanced Playwright Techniques for Flawless Testing
29mPlaying your tests wright
27mPlaying your tests wright
41mTesting Web Applications with Playwright
24mPlaying your tests wright
28mFrom generic to specific test automation architecture with Playwright
01h 31mAdvanced Playwright with AI
42mMichal Slezak: Creating a Framework with Playwright - How to Do It Right?
