We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 453eedc commit 2bacba5Copy full SHA for 2bacba5
1 file changed
cypress/support/e2e.ts
@@ -50,6 +50,13 @@ before(() => {
50
cy.task('saveRestBaseDomain', baseDomain);
51
52
});
53
+
54
+ // We might receive uncaught exceptions from external libraries (e.g. it happened before with a broken
55
+ // version of the addToAny plugin). These should not cause our tests to fail, so we catch them here.
56
+ Cypress.on('uncaught:exception', (err, runnable) => {
57
+ // returning false here prevents Cypress from failing the test
58
+ return false;
59
+ });
60
61
62
// Runs once before the first test in each "block"
0 commit comments