Skip to content

Commit

Permalink
Use getBySel helper in fee list cypress test to get fee-list-page
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamik10 committed Dec 5, 2023
1 parent a44db06 commit e5297d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/apps/fee-list/fee-list.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ describe("Fee list", () => {
.should("have.text", "Fees & Replacement costs");

// 2.b text "Overdue fees and replacement costs that were created before dd/mm/åååå can still be paid on this page. See our fees and replacement costs"
cy.get(".fee-list-page")
.find("[data-cy='fee-list-body']")
cy.getBySel("fee-list-body")
.should("exist")
.should(
"have.text",
Expand Down

0 comments on commit e5297d3

Please sign in to comment.