From 1ff02f8948d19161d025ca6dc70824c6dd90caae Mon Sep 17 00:00:00 2001 From: Mohammed Nihal <57055998+nihal467@users.noreply.github.com> Date: Sun, 10 Nov 2024 20:22:19 +0530 Subject: [PATCH] added a hard wait to handle celery delay --- cypress/e2e/facility_spec/FacilityHomepage.cy.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress/e2e/facility_spec/FacilityHomepage.cy.ts b/cypress/e2e/facility_spec/FacilityHomepage.cy.ts index e4a80d468a1..7db3b308a53 100644 --- a/cypress/e2e/facility_spec/FacilityHomepage.cy.ts +++ b/cypress/e2e/facility_spec/FacilityHomepage.cy.ts @@ -154,6 +154,7 @@ describe("Facility Homepage Function", () => { facilityNotify.verifyPostNotificationReq(); cy.verifyNotification("Facility Notified"); cy.closeNotification(); + cy.wait(2000); // Verify the frontend error on empty message facilityHome.clickFacilityNotifyButton(); facilityNotify.verifyFacilityName(facilityName);