~/talk

Cypress Component Testing - The Disappearance of Mr. Button

Talkat NG-DE Conference 2022 · 2022-10-06..10-07· [testing, angular]
slides:none on file

Demos a concrete workflow for finding a disappearing button by switching from jsdom + testing-library + just-preview to Cypress Component Testing that mounts a single Angular component, uses injectable fakes over network stubs for domain services, and runs visual Percy snapshots for regressions. Shows the real failures: jsdom lacks CSS layout so flex-basis hides the button, just-preview helps debug but styles must be loaded, Cypress’s actionability detects covered elements, and component tests speed up iteration while avoiding full-app flakiness.

AI-written summary · about

  1. 0:00Introduction and testing
  2. 2:45Debugging the disappearing
  3. 5:42Identifying code issues
  4. 9:34Browser-less testing tools
  5. 14:39Visualizing Dom state
  6. 18:03Handling flexbox issues
  7. 22:38Introduction to Cypress
  8. 26:57Component testing setup
  9. 32:28Visual regression testing
  10. 36:53Testing best practices
~/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.