Skip to content

Commit

Permalink
fix: update status button link and add test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
namanaman committed Aug 13, 2024
1 parent 2a6d1e9 commit c42cb94
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions cypress/e2e/paymentDetail.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ describe("Payment Detail page - Leave Ended FLI", () => {
"be.visible"
);

cy.get("button")
.contains("Status")
.should("have.attr", "onclick")
.and("equal", "claimdetail()");

cy.get("#accordion0id")
.contains("Next $770.00 to issue on August 13, 2025")
.should("be.visible");
Expand Down
Loading

0 comments on commit c42cb94

Please sign in to comment.