From 17a96b1202ad351b1669affbfa70f583d17bfffb Mon Sep 17 00:00:00 2001 From: mahendar Date: Sun, 15 Dec 2024 20:24:32 +0530 Subject: [PATCH] test cases --- cypress/e2e/patient_spec/PatientConsultationCreation.cy.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cypress/e2e/patient_spec/PatientConsultationCreation.cy.ts b/cypress/e2e/patient_spec/PatientConsultationCreation.cy.ts index 3612d23a7be..9569f952c7b 100644 --- a/cypress/e2e/patient_spec/PatientConsultationCreation.cy.ts +++ b/cypress/e2e/patient_spec/PatientConsultationCreation.cy.ts @@ -368,7 +368,10 @@ describe("Patient Consultation in multiple combination", () => { // Create a shifting request cy.closeNotification(); // cy.clickSubmitButton("Shift Patient"); - cy.get("#shift_create_button").click(); + cy.get("#shift_create_button", { timeout: 10000 }) + .should("be.visible") + .click(); + shiftCreation.typeCurrentFacilityPerson("Current Facility Person"); shiftCreation.typeCurrentFacilityPhone("9999999999"); shiftCreation.typeShiftReason("reason for shift");