From 8a01b543d365d3f1dc7d2c0052b060f596433f3f Mon Sep 17 00:00:00 2001 From: Mohammed Nihal <57055998+nihal467@users.noreply.github.com> Date: Tue, 27 Feb 2024 13:28:48 +0530 Subject: [PATCH] flaky test (#7282) --- cypress/e2e/facility_spec/facility_homepage.cy.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cypress/e2e/facility_spec/facility_homepage.cy.ts b/cypress/e2e/facility_spec/facility_homepage.cy.ts index 2ed666ac842..1832fa973b7 100644 --- a/cypress/e2e/facility_spec/facility_homepage.cy.ts +++ b/cypress/e2e/facility_spec/facility_homepage.cy.ts @@ -37,6 +37,9 @@ describe("Facility Homepage Function", () => { it("Verify the Facility card button redirection", () => { // view cns button + manageUserPage.typeFacilitySearch(facilityName); + facilityPage.verifyFacilityBadgeContent(facilityName); + manageUserPage.assertFacilityInCard(facilityName); facilityHome.clickViewCnsButton(); facilityHome.verifyCnsUrl(); facilityHome.navigateBack(); @@ -121,6 +124,8 @@ describe("Facility Homepage Function", () => { facilityPage.selectLocalBody(localBody); userPage.applyFilter(); // go to cns page in the facility details page + manageUserPage.typeFacilitySearch(facilityName); + facilityPage.verifyFacilityBadgeContent(facilityName); manageUserPage.assertFacilityInCard(facilityName); facilityHome.clickViewFacilityDetails(); facilityHome.clickFacilityCnsButton();