From cc4c64f99aafa7d9ed574908a2c341b913ef374e Mon Sep 17 00:00:00 2001 From: rithviknishad Date: Fri, 8 Sep 2023 10:38:20 +0530 Subject: [PATCH] fix cypress :/ --- cypress/pageobject/Facility/FacilityCreation.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress/pageobject/Facility/FacilityCreation.ts b/cypress/pageobject/Facility/FacilityCreation.ts index 3eac29f14c5..9546d9ca65f 100644 --- a/cypress/pageobject/Facility/FacilityCreation.ts +++ b/cypress/pageobject/Facility/FacilityCreation.ts @@ -119,6 +119,7 @@ class FacilityPage { } clickInventoryManagementOption() { + cy.get("inventory-management", { timeout: 10000 }).should("be.visible"); cy.get("#inventory-management").click(); }