~/talk

Cypress Tales: Effective E2E Testing

Talkat Armada JS 2019 · on , 2019-09-00· [testing, javascript]
links:none on file
slides:none on file

Cypress runs tests inside a real browser, records time-traveling snapshots and video, and makes debugging fast; tests use a mix of true requests and stubs (use cy.route to stub requests) so most scenarios are integration-level rather than full E2E, yielding much faster suites. Recommended practices shown: use programmatic login via API and Cypress custom commands, reset state in beforeEach, wait for services with start-server-and-test/wait-on for reliable CI, and mount React components for focused checks.

AI-written summary · about

  1. 0:00Introduction
  2. 0:40Who am I
  3. 2:17Why test
  4. 4:00Code Coverage
  5. 6:00Testing Trophy
  6. 12:06Cypress Cons
  7. 13:00Cypress Best Practices
  8. 14:50Page Object Pattern
  9. 16:17User Interface
  10. 16:54Best Practices
  11. 17:51Starting Web Servers
  12. 19:28Cypress React
  13. 23:04Stop Requests
  14. 25:51Questions
~/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.