Skip to content

Commit

Permalink
update cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Rudnicki committed Dec 19, 2024
1 parent 1a9317c commit 5e70605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions designer/client/cypress/e2e/counts.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe("Counts", () => {
cy.get("@button").click();

cy.get("[data-testid=window]").contains("Quick ranges").should("be.visible");
cy.contains(/^latest deploy$/i).should("not.exist");
cy.contains(/^latest run$/i).should("not.exist");
cy.get("[data-testid=window]").matchImage({ maxDiffThreshold });
cy.get("[data-testid=window]")
.contains(/^cancel$/i)
Expand All @@ -31,7 +31,7 @@ describe("Counts", () => {
cy.deployScenario();
cy.get("@button").click();
cy.get("[data-testid=window]").contains("Quick ranges").should("be.visible");
cy.contains(/^latest deploy$/i).should("be.visible");
cy.contains(/^latest run$/i).should("be.visible");
cy.get("[data-testid=window]").matchImage({ maxDiffThreshold });
cy.get("[data-testid=window]")
.contains(/^cancel$/i)
Expand Down

0 comments on commit 5e70605

Please sign in to comment.