~/talk

The Road to Reliable Automated Tests

Talkat Selenium Conf 2022 · 2022-07-29..07-30· [testing, developer-experience]
slides:none on file

Defines a reliable test as deterministic and gives concrete fixes: replace brittle copy‑paste suites (one example is 20 copy‑paste tests that took three days to patch) with small, focused tests and extracted helper methods; use custom webdriver waits instead of raw click/sendKeys and assert by waiting for outcomes; run tests in CI and locally often, debug with breakpoints and console traces, avoid catch‑all handlers, use CSS selectors, run static inspections in IntelliJ and publish a reusable waiter library on GitHub for common wait patterns.

AI-written summary · about

  1. 0:00Start
  2. 8:12Creating a reliable test from
  3. 11:02Follow coding best
  4. 13:48Less code is be
  5. 16:37Don't add worka
  6. 21:03Write tests in sma Easy debugging . Lots of test runs
  7. 24:05Make sure to add
  8. 27:43Visually inspect the
  9. 29:08Check the test pass correctly
  10. 30:35Lookout for false
  11. 33:16Understand what
  12. 34:35Debugging you
  13. 38:21When colleagues debugging the code
  14. 39:20Run the tests on a
  15. 41:10You can fix tests at
  16. 41:45Less maintenand
~/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.