~/talk

How to Fix Flakiness in Tests | Using Time Machines to Debug #FlakyTest

Talkat TestFlix 2023 · 2023-09-23..09-24· [testing, developer-experience]
slides:none on file

Shows three concrete time‑travel tools and how they fix real flakes: Cypress timeline lets you hover commands and finds a last() selector clicking the wrong card, fixed by asserting the list length equals 2; Playwright trace‑viewer reveals two clicks hitting the same button so adding assertions that navigation reached Playwright before the next click fixes it; Replay recordings captures network, DOM and component code showing addToCart sends quantity 0, fixed by disabling the button until availability loads. Tools integrate with tests and app code and the fixes work.

AI-written summary · about

  1. 0:00Introduction to time travel debugging
  2. 1:52Flakiness example with Cypress
  3. 4:20Timing issues in modern apps
  4. 5:03Playwright trace viewer demo
  5. 7:30Browser internals and testing
  6. 8:34Flaky apps and flaky tests
  7. 9:15Replay IO time machine demo
  8. 13:08Fixing the root cause of flakiness
  9. 14:33Summary of time machine tools
~/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.