Skip to content

Commit

Permalink
chore: add timeout for all notifi
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng committed Jul 1, 2024
1 parent d93d3ab commit a8f3424
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cypress/e2e/claim-portal-success.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ describe("Claims Portal Success", () => {
cy.get("#view-claim").should("be.visible").and("include.text", "View Claim");

// anvil confirms it instantly so there is two notifications
cy.get("body").should("contain.text", "Transaction sent");
cy.get("body").should("contain.text", "Claim Complete");
cy.get("body", { timeout: 15000 }).should("contain.text", "Transaction sent");
cy.get("body", { timeout: 15000 }).should("contain.text", "Claim Complete");
});
});

Expand Down Expand Up @@ -78,7 +78,7 @@ describe("Claims Portal Success", () => {
cy.get("#claim-loader").should("not.be.visible");
cy.get("#view-claim").should("not.be.visible");

cy.get("body").should("contain.text", "Nonce invalidation transaction sent");
cy.get("body", { timeout: 15000 }).should("contain.text", "Nonce invalidation transaction sent");
});
});
});
Expand Down

0 comments on commit a8f3424

Please sign in to comment.