Skip to content

Commit

Permalink
Fix cypress failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
JavidSumra committed Dec 27, 2024
1 parent 27dde91 commit 09cfa2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cypress/pageobject/Facility/FacilityHome.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ class FacilityHome {
})
.should("be.visible");
} else {
cy.get(`[data-testid="sidebar-text-${expectedText}"]`).should(
"not.be.visible",
);
cy.get(
`[data-testid="sidebar-text-${expectedText.replace(" ", "-")}"]`,
).should("not.be.visible");
}
}

Expand Down

0 comments on commit 09cfa2c

Please sign in to comment.