Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shivankacker committed Oct 14, 2024
1 parent 40a1873 commit 87903c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/pageobject/Facility/FacilityHome.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class FacilityHome {
}

verifyOccupancyBadgeVisibility() {
cy.get("#occupany-badge").should("be.visible");
cy.get("#occupancy-badge").should("be.visible");
}

verifyAndCloseNotifyModal() {
Expand Down
1 change: 1 addition & 0 deletions src/Components/Facility/FacilityCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export const FacilityCard = (props: { facility: any; userType: any }) => {
{facility.name}
</Link>
<div
id="occupancy-badge"
className={`tooltip flex items-center gap-1 text-sm ${facility.patient_count / facility.bed_count > 0.85 ? "justify-center rounded-md border border-red-600 bg-red-500 p-1 font-bold text-white" : "text-secondary-700"}`}
>
<span className="tooltip-text tooltip-top">
Expand Down

0 comments on commit 87903c9

Please sign in to comment.