Commit f596293b authored by Vignesh Mohankumar's avatar Vignesh Mohankumar Committed by GitHub

build: don't fail cypress on unhandled exception (#4122)

parent 8012789f
......@@ -50,3 +50,9 @@ beforeEach(() => {
res.continue()
})
})
Cypress.on('uncaught:exception', (_err, _runnable) => {
// returning false here prevents Cypress from
// failing the test
return false
})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment