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