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...
Watch video How to fail Cypress test if the application creates unhandled rejected promise online without registration, duration hours minute second in high quality. This video was added by user gleb bahmutov 07 January 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,048 once and liked it 19 people.