From d230d6aeeb79a72c92c8a850b405a859f9817512 Mon Sep 17 00:00:00 2001 From: Mohammed Nihal <57055998+nihal467@users.noreply.github.com> Date: Mon, 23 Dec 2024 13:18:26 +0530 Subject: [PATCH] modified the data verification --- cypress/e2e/patient_spec/PatientConsultationDischarge.cy.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cypress/e2e/patient_spec/PatientConsultationDischarge.cy.ts b/cypress/e2e/patient_spec/PatientConsultationDischarge.cy.ts index ac7aa3f8447..a3b4906e0ca 100644 --- a/cypress/e2e/patient_spec/PatientConsultationDischarge.cy.ts +++ b/cypress/e2e/patient_spec/PatientConsultationDischarge.cy.ts @@ -117,10 +117,8 @@ describe("Patient Discharge based on multiple reason", () => { patientDischarge.interceptDischargePatient(); cy.clickSubmitButton("Acknowledge & Submit"); patientDischarge.verifyDischargePatient(); + cy.verifyNotification("Patient Discharged Successfully"); // Verify the consultation dashboard reflection - cy.verifyContentPresence("#consultation-buttons", ["Recovered"]); - // Verify the dashboard and discharge information - cy.verifyContentPresence("#discharge-information", [patientMedicine]); }); afterEach(() => {