~/talk

Nx + Cypress Like Peanut Butter & Jelly

Talkat Nx Conf 2022 · on Monday, 2022-10-17· [testing, frontend-architecture]
links:none on file
slides:none on file

Shows Nx integrating Cypress end-to-end and component testing with a one-command migration to Cypress 10 that updates dependencies and config, plus an Nx generator that scaffolds a React app called "sandwich" and a matching e2e project. Demonstrates mounting React components in the browser, auto-generated component tests placed next to components, automatic waiting instead of fixed sleeps, time-travel debugging, screenshots/videos on failure, WebKit plus Chrome/Firefox/Edge/Electron support, and live runs via NX commands that actually work in the demo.

AI-written summary · about

  1. 0:00Introduction to Cypress
  2. 1:38Cypress features
  3. 7:37Cypress and NX integration
  4. 9:21Updating to Cypress 10
  5. 10:52Understanding component testing
  6. 16:00Setting up component tests
  7. 19:48Running and writing tests
  8. 26:01Conclusion
~/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.