Skip to content

Commit e06f4f5

Browse files
committed
Update auto-detect e2e test to check where backdrop should not exist for non-breaking changes
1 parent fd30bdd commit e06f4f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airbyte-webapp-e2e-tests/cypress/pages/replicationPage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ export const checkSchemaChangesDetected = ({ breaking }: { breaking: boolean })
214214
cy.get(schemaChangesDetectedBanner)
215215
.invoke("attr", "class")
216216
.should("match", breaking ? /\_breaking/ : /nonBreaking/);
217-
cy.get(schemaChangesBackdrop).should("exist");
217+
cy.get(schemaChangesBackdrop).should(breaking ? "exist" : "not.exist");
218218
};
219219

220220
export const checkSchemaChangesDetectedCleared = () => {

0 commit comments

Comments
 (0)