Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

cypress ignore error

Cypress.on('uncaught:exception', (err, runnable) => {
    // returning false here prevents Cypress from
    // failing the test
    return false
})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #cypress #ignore #error
ADD COMMENT
Topic
Name
2+5 =