~/talk

It's a (testing) trap! - Common end-to-end pitfalls and how to solve them

Talkat code.talks 2023 · 2023-09-14..09-15· [testing, frontend-architecture]
slides:none on file

Concrete examples of failing front-end tests, the mistakes that cause them, and concrete fixes: uses Jest and Cypress as examples, shows unclear short titles and adopts the three-part title rule, restructures tests with given–when–then / arrange‑act‑assert, warns against shared test data and fragile CSS selectors, and demonstrates replacing fixed waits with dynamic waits or network intercepts and using data- selectors for stability. Expect code-level patterns, specific assertions to add, and measurable outcomes (fewer flakes, faster runs).

AI-written summary · about

  1. 0:00Introduction
  2. 3:25Personal testing journey
  3. 5:12Star Wars testing pain
  4. 7:00End-to-end pitfalls
  5. 9:06Mindset and simplicity
  6. 10:12Clear test titles rule
  7. 12:19Unit test structure
  8. 14:25Unit test readability
  9. 16:33Pattern adaptation
  10. 19:04End-to-end testing and its unique challenges
  11. 20:14Avoid shared data
  12. 22:21Realistic test names
  13. 23:48Avoid implementation traps
  14. 25:34Fixed wait dangers
  15. 27:41Turning pain to success
  16. 28:45Final thoughts
~/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.