~/talk

Avoiding The Suck Of Testing Using Cypress.io

Talkat ng-conf 2019 · 2019-05-01..05-03· [testing, frontend-architecture]
slides:none on file

Claims that Protractor/Selenium-style end-to-end testing is flaky and slow and demonstrates switching to Cypress.io by installing, running npx cypress open, and writing tests that use cy.visit cy.get and should to assert DOM state. Shows waiting for network with cy.route & cy.wait, stubbing responses and fixtures to force edge cases, running tests in CI and capturing videos and screenshots. The demos run live and all features work as shown.

AI-written summary · about

  1. 0:00Introduction to cypress
  2. 1:18The pain of E2E testing
  3. 2:45Why testing tools fail
  4. 5:29Setting up cypress
  5. 6:57Your first cypress test
  6. 12:30Understanding the UI
  7. 16:26Hands-on exercise
  8. 20:05Solving test flakiness
  9. 25:55Network waiting and routing
  10. 33:02Stubbing and edge cases
  11. 38:42Fixtures and exercises
  12. 41:57CI mode and conclusion
~/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.