Skip to content

Commit b44a09b

Browse files
committed
Updated index.js cypress trests
1 parent 2b3d0bd commit b44a09b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cypress/support/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ Cypress.on('uncaught:exception', (err, runnable) => {
4040
return false
4141
}
4242
/** if other libraries don't load, we skip these errors. */
43-
// if (err.message.includes('Cannot read properties')) {
44-
// return false
45-
// }
43+
if (err.message.includes("Cannot read properties of undefined (reading 'substring')")) {
44+
return false
45+
}
4646
/**
4747
* we still want to ensure there are no other unexpected
4848
* errors, so we let them fail the test

0 commit comments

Comments
 (0)