~/talk

Mastering UI tests

Talkat Voxxed Days Ticino 2019 · 2019-10-09..10-11· [testing, frontend-architecture]
slides:none on file

Advocates replacing slow full end-to-end runs with many fast UI-focused tests: stub the backend with Cypress intercept AJAX requests to create UI integration tests that take ~2–3s each instead of ~20s for full e2e. Keep only 5–20 full e2e happy‑path checks and 100–200 UI integration checks, assert request payloads and responses, import app constants, expose test shortcuts to set auth state, and rely on time-travel and automatic waits plus screenshots/videos for precise, actionable failures.

AI-written summary · about

  1. 0:00Introduction
  2. 1:35Testing principles
  3. 2:34Frontend testing
  4. 7:33Writing endtoend tests
  5. 13:33Waiting for deterministic events
  6. 17:53Frontend shortcuts
  7. 21:07Frontend constants
  8. 24:00Endtoend tests
  9. 25:43Selectors vs contents
  10. 28:23Why test manually
  11. 35:12Does it support only Chrome
  12. 36:29Is it all about frontend testing
~/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.