Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offramp link to docs #240

Merged
merged 19 commits into from
Jul 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions cypress/e2e/claim-portal-success.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,17 @@ 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", { timeout: 15000 }).should("contain.text", "Transaction sent");
cy.get("body", { timeout: 15000 }).should("contain.text", "Claim Complete");
cy.get("body").should("contain.text", "Transaction sent");
jordan-ae marked this conversation as resolved.
Show resolved Hide resolved
cy.get("body").should("contain.text", "Claim Complete");
jordan-ae marked this conversation as resolved.
Show resolved Hide resolved

cy.window().then((win) => {
win.open = cy.stub().as("open");
});

cy.get("#view-claim").invoke("click")
.then(() => {
cy.get("@open").should("be.calledWithMatch", /https:\/\/blockscan.com\/tx/);
});
});
});

Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.