From 87903c9ad24e4e47bed9a45ae466b76a41120914 Mon Sep 17 00:00:00 2001 From: Shivank Kacker Date: Mon, 14 Oct 2024 16:51:31 +0530 Subject: [PATCH] fixed tests --- cypress/pageobject/Facility/FacilityHome.ts | 2 +- src/Components/Facility/FacilityCard.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cypress/pageobject/Facility/FacilityHome.ts b/cypress/pageobject/Facility/FacilityHome.ts index e021171ff0a..f07dd92976a 100644 --- a/cypress/pageobject/Facility/FacilityHome.ts +++ b/cypress/pageobject/Facility/FacilityHome.ts @@ -72,7 +72,7 @@ class FacilityHome { } verifyOccupancyBadgeVisibility() { - cy.get("#occupany-badge").should("be.visible"); + cy.get("#occupancy-badge").should("be.visible"); } verifyAndCloseNotifyModal() { diff --git a/src/Components/Facility/FacilityCard.tsx b/src/Components/Facility/FacilityCard.tsx index fc6d3a5f780..0c8305b1b01 100644 --- a/src/Components/Facility/FacilityCard.tsx +++ b/src/Components/Facility/FacilityCard.tsx @@ -98,6 +98,7 @@ export const FacilityCard = (props: { facility: any; userType: any }) => { {facility.name}
0.85 ? "justify-center rounded-md border border-red-600 bg-red-500 p-1 font-bold text-white" : "text-secondary-700"}`} >