~/talk

It's a Testing Trap

Talkat JSWorld Conference 2022 · 2022-02-09..02-11· [testing, developer-experience]
slides:none on file

Covers concrete traps and fixes: unit and component tests with Jest and Vue Test Utils, plus end-to-end work in Cypress; claims slow pipelines, flaky tests and painful maintenance come from brittle CSS selectors, excessive abstractions, placeholder names and fixed waits. Shows an E2E that creates a product and checks out, demonstrates a custom command causing delays, and prescribes flat test design, few helpers, realistic fixtures, waiting for API responses and UI changes, using data-test attributes, following arrange-act-assert and Given-When-Then to keep tests fast and trustworthy.

AI-written summary · about

  1. 0:00Introduction
  2. 0:45Who am I
  3. 1:19My childhood
  4. 1:57Its a trap
  5. 3:37Slow tests
  6. 4:42Empaths
  7. 5:23Mindset
  8. 6:25Test Design
  9. 8:02Test Abstract
  10. 9:45Test Name
  11. 10:55Triple A Pattern
  12. 14:24cyprus
  13. 14:59foobar
  14. 17:30selectors
  15. 19:42waiting dynamically
  16. 20:48Star Wars
  17. 21:29The Golden Rule
  18. 22:54Outro
~/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.