From 354afd4150061abfa1b0d2ef98f6883699efe001 Mon Sep 17 00:00:00 2001 From: Alex Birdsall Date: Wed, 31 Aug 2022 13:01:24 -0700 Subject: [PATCH] Prevent test failures from intentionally-thrown errors --- airbyte-webapp-e2e-tests/cypress/integration/base.spec.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/airbyte-webapp-e2e-tests/cypress/integration/base.spec.ts b/airbyte-webapp-e2e-tests/cypress/integration/base.spec.ts index 9e9b4a9b32350..9356655733b55 100644 --- a/airbyte-webapp-e2e-tests/cypress/integration/base.spec.ts +++ b/airbyte-webapp-e2e-tests/cypress/integration/base.spec.ts @@ -8,6 +8,8 @@ describe("Error handling view", () => { }, }); + cy.on("uncaught:exception", () => false); + cy.visit("/"); cy.get("div") @@ -21,6 +23,8 @@ describe("Error handling view", () => { body: "Failed to fetch", }); + cy.on("uncaught:exception", () => false); + cy.visit("/"); cy.get("div")