Skip to content

Commit

Permalink
Update auto-detect e2e test to check where backdrop should not exist …
Browse files Browse the repository at this point in the history
…for non-breaking changes
  • Loading branch information
edmundito committed Jan 30, 2023
1 parent fd30bdd commit e06f4f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airbyte-webapp-e2e-tests/cypress/pages/replicationPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => {
Expand Down

0 comments on commit e06f4f5

Please sign in to comment.