In this video, I show how to install a window event listener that catches unhandled rejected promises created by the application. When Cypress catches the event it can fail the test. For more details see the recipe "Handling errors" in https://github.com/cypress-io/cypress...