From 946d4aabd665e407897c16575aadd88d785a3d14 Mon Sep 17 00:00:00 2001 From: Gokulram A Date: Thu, 16 Nov 2023 14:39:29 +0530 Subject: [PATCH] fix adds location cypress test --- cypress/e2e/facility_spec/locations.cy.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cypress/e2e/facility_spec/locations.cy.ts b/cypress/e2e/facility_spec/locations.cy.ts index cac9adbdde1..b72213fc7fe 100644 --- a/cypress/e2e/facility_spec/locations.cy.ts +++ b/cypress/e2e/facility_spec/locations.cy.ts @@ -23,6 +23,8 @@ describe("Location Management Section", () => { cy.contains("Add New Location").click(); cy.get("[name='name']").type("Test Location"); cy.get("textarea[name='description']").type("Test Description"); + cy.get("#location-type").click(); + cy.get("#location-type-option-ICU").click(); cy.intercept(/\/api\/v1\/facility\/[\w-]+\/asset_location\//).as( "addLocation" );