~/talk

Three Flavors of Pokémon - Framework Agnostic UI Testing

Talkat CypressConf 2024 · 2024-10-22..10-23· [testing, frontend-architecture]
links:none on file
slides:none on file

Framework-agnostic UI tests are implemented with Cypress helpers, an assertable wrapper, and a driver pattern so the same test code runs against three implementations (React, Angular, Lit) at unit, integration and end-to-end levels. The repo contains a Pokedex app used to prove that one test body covers all three builds, that mocking an image 404 reproduces a GIF fallback bug, and that adding one line to a login driver (consent check) turns dozens of failing tests green.

AI-written summary · about

  1. 0:00Introduction
  2. 1:14Identifying testing pitfalls
  3. 4:33Measures of high-quality tests
  4. 6:28Introduction to the demo
  5. 8:29End-to-end testing
  6. 12:17Integration testing
  7. 16:06Unit and component testing
  8. 19:39Helpers and the driver pattern
  9. 23:49Implementing driver patterns
  10. 30:01Applying drivers to features
  11. 34:36Solving defects with tests
  12. 36:12Summary and resources
~/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.