diff --git a/main/tests/cypress/cypress/support/index.js b/main/tests/cypress/cypress/support/index.js index 06e27deb1..3edc8d365 100644 --- a/main/tests/cypress/cypress/support/index.js +++ b/main/tests/cypress/cypress/support/index.js @@ -55,7 +55,9 @@ before(() => { Cypress.on('uncaught:exception', (err, runnable) => { // This message occasionally appears with edge // Doesn't seems like a blocket, and the test should not fail - if (err.message.includes("Cannot read property 'offsetTop' of undefined")) { + if (err.message.includes("Cannot read property 'offsetTop' of undefined") + || err.message.includes("Cannot read properties of undefined (reading 'offsetTop')") + ) { return false } // we still want to ensure there are no other unexpected