~/talk

Automation Testing Web Apps with Cypress

Talkat Testing Talks Conference 2022 Melbourne · on Thursday, 2022-10-20· [javascript, testing]
slides:none on file

Hands-on setup and demo of Cypress for JavaScript web apps showing npm install, Cypress open vs cypress run, and using cy.visit, cy.type, cy.get, cy.intercept and cy.request to stub APIs and reset backend state. A todo app test suite is built with a page object that adds, edits, toggles and removes items; tests assert focus, input clearing and DOM visibility and rely on Cypress’s command/execution separation for flake resistance. Demos include intentional failures and fixes so the workflow actually works.

AI-written summary · about

  1. 0:00Introduction
  2. 1:33Takeaways
  3. 2:55Purpose
  4. 5:15Command Execution Separation
  5. 6:49Run Cypress
  6. 8:35Inspect
  7. 12:20Mocha
  8. 13:36Question
  9. 15:30Demo
  10. 15:49Page Objects
  11. 16:38Implementation vs Behavior
  12. 17:23Behaviors
  13. 18:28Intercept
  14. 21:50Focus
  15. 24:48FocusOne
  16. 25:25Dawn
  17. 25:51Clear it
  18. 27:15Add object
  19. 28:09Checkbox
  20. 28:59Unchecked
  21. 31:30Test Process
  22. 32:25Edit Items
  23. 33:53Edit Mode
  24. 35:27Escape Key
  25. 39:56Blur
  26. 40:51Multiple Tests
~/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.