Uploaded December 2023 | Updated September 2026, 1 week ago
This video shows a quick refactoring of Cypress tests that check alerts and modals. Find the "before" and "after" source code in the repo github.com/bahmutov/webdriverSite For more information:
- sinon spies and stubs glebbahmutov.com/cypress-examples/commands/spies-stubs-clocks.html
- negative assertions glebbahmutov.com/blog/negative-assertions
- cy.intercept and network testing: my course https://cypress.tips/courses/network-testing
- command - action - command - action approach to writing E2E tests see my open source Cypress Basics workshop github.com/bahmutov/cypress-workshop-basics
This video shows a quick refactoring of Cypress tests that check alerts and modals. Find the "before" and "after" source code in the repo github.com/bahmutov/webdriverSite For more information:
- sinon spies and stubs glebbahmutov.com/cypress-examples/commands/spies-stubs-clocks.html
- negative assertions glebbahmutov.com/blog/negative-assertions
- cy.intercept and network testing: my course https://cypress.tips/courses/network-testing
- command - action - command - action approach to writing E2E tests see my open source Cypress Basics workshop github.com/bahmutov/cypress-workshop-basics










