~/talk

Advanced Playwright Techniques for flawless testing

Talkat TestFlix 2024 · 2024-10-19..10-20· [testing]
slides:none on file

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

  1. 0:00Introduction
  2. 1:12Why use Playwright
  3. 2:14Key testing tips
  4. 5:02API mocking demo
  5. 9:14Setup tests and dependencies
  6. 11:43CLI optimizations
  7. 12:44Community and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.