From 19666015c31af5f8a53af17f1fb32876d482ad27 Mon Sep 17 00:00:00 2001 From: Mohammed Nihal <57055998+nihal467@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:50:35 +0530 Subject: [PATCH] Fix cypress test --- cypress/e2e/patient_spec/patient_crud.cy.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cypress/e2e/patient_spec/patient_crud.cy.ts b/cypress/e2e/patient_spec/patient_crud.cy.ts index 16f6dd8be6e..69af8695ad6 100644 --- a/cypress/e2e/patient_spec/patient_crud.cy.ts +++ b/cypress/e2e/patient_spec/patient_crud.cy.ts @@ -192,8 +192,7 @@ describe("Patient Creation with consultation", () => { .click(); cy.get("div#medicine_object input[placeholder='Select'][role='combobox']") .click() - .type("dolo"); - cy.get("#medicine_object-option-DOLO").click(); + .type("dolo{enter}"); cy.get("#dosage").type("3", { force: true }); cy.get("#frequency") .click()