From e06f4f53ab522bcf8dffd03a02ed418e9fb89876 Mon Sep 17 00:00:00 2001 From: Edmundo Ruiz Ghanem Date: Mon, 30 Jan 2023 14:57:34 -0500 Subject: [PATCH] Update auto-detect e2e test to check where backdrop should not exist for non-breaking changes --- airbyte-webapp-e2e-tests/cypress/pages/replicationPage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airbyte-webapp-e2e-tests/cypress/pages/replicationPage.ts b/airbyte-webapp-e2e-tests/cypress/pages/replicationPage.ts index 2417f2e7b6e4..fd4ac27f47de 100644 --- a/airbyte-webapp-e2e-tests/cypress/pages/replicationPage.ts +++ b/airbyte-webapp-e2e-tests/cypress/pages/replicationPage.ts @@ -214,7 +214,7 @@ export const checkSchemaChangesDetected = ({ breaking }: { breaking: boolean }) cy.get(schemaChangesDetectedBanner) .invoke("attr", "class") .should("match", breaking ? /\_breaking/ : /nonBreaking/); - cy.get(schemaChangesBackdrop).should("exist"); + cy.get(schemaChangesBackdrop).should(breaking ? "exist" : "not.exist"); }; export const checkSchemaChangesDetectedCleared = () => {