From 4b8c42e34bbb5118b4322b1fbb3683a3cc9a08a2 Mon Sep 17 00:00:00 2001 From: Shivank Kacker Date: Tue, 3 Dec 2024 15:37:59 +0530 Subject: [PATCH] tests --- cypress/e2e/assets_spec/AssetsManage.cy.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cypress/e2e/assets_spec/AssetsManage.cy.ts b/cypress/e2e/assets_spec/AssetsManage.cy.ts index 17ee99bdb62..9645cd22c30 100644 --- a/cypress/e2e/assets_spec/AssetsManage.cy.ts +++ b/cypress/e2e/assets_spec/AssetsManage.cy.ts @@ -95,8 +95,7 @@ describe("Asset", () => { it("Verify Facility Asset Page Redirection", () => { cy.visit("/facility"); - assetSearchPage.typeSearchKeyword(fillFacilityName); - assetSearchPage.pressEnter(); + cy.get("#facility-search").click().clear().type(fillFacilityName); facilityPage.verifyFacilityBadgeContent(fillFacilityName); facilityPage.visitAlreadyCreatedFacility(); facilityPage.clickManageFacilityDropdown();