Ship Web Apps Confidently: End-to-End Testing with Cypress
summary
Cypress is an open source E2E tool you install with npm that gives a desktop runner plus CLI, runs inside the browser and snapshots the DOM so you can time travel through each command. Tests use the cy global, support custom commands and the task command to clear or seed databases, and stub network calls with cy.server/cy.route and fixtures. CI runs record video and the dashboard does parallelization — a 970-test suite drops from ~23 minutes to under 4 with six machines (~83% faster).
AI-written summary · about
chapters (19)
- 0:00Start
- 7:16What Is Cypress
- 9:50Installation
- 10:10Cypress Cli
- 13:10The Cypress 8 Api
- 13:35How Do You Access the Cyprus Api
- 15:15Architecture
- 23:04Clean Up My Database
- 23:28The Cypress Task Command
- 25:32Declare Custom Commands in Cypress
- 27:35Optimize the Login Command
- 30:17Stubbing of Network Requests
- 35:55Complimentary Dashboard
- 39:32Real-World Impact
- 40:17Test Retries
- 41:58Documentation
- 44:00Component Testing with Cypress
- 46:09Cyprus Api
- 48:16Plans in the Future
related talks
47mEnd to End Testing with Cypress
50mCypress, the Tool That Will Make You Love End-to-End Testing!
29mEnd-to-end Testing Is Hard - But It Doesn't Have to Be
33mCypress: The future of E2E testing
29mAutomated Testing for the Modern Web
23mRun your end-to-end tests at light speed with Cypress
35mCypress Tales: Effective E2E Testing
39mGaining Confidence with Cypress Tests
