From 20fe2653c92f58da77633994294b65387a487315 Mon Sep 17 00:00:00 2001 From: Mohammed Nihal <57055998+nihal467@users.noreply.github.com> Date: Thu, 26 Dec 2024 09:20:22 +0530 Subject: [PATCH] fixed flaky test in doctor notes (#9569) --- cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts b/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts index 4fe19329af1..9420a675963 100644 --- a/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts +++ b/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts @@ -35,7 +35,6 @@ describe("Patient Discussion notes in the consultation page", () => { patientDoctorNotes.addDiscussionNotes(patientNurseNote); patientDoctorNotes.postDiscussionNotes(); cy.verifyNotification(discussionNotesSuccessMessage); - cy.closeNotification(); // verify the auto-switching of tab to nurse notes if the user is a nurse patientDoctorNotes.signout(); loginPage.loginManuallyAsNurse(); @@ -51,7 +50,6 @@ describe("Patient Discussion notes in the consultation page", () => { patientDoctorNotes.addDiscussionNotes(patientNurseReplyNote); patientDoctorNotes.postDiscussionNotes(); cy.verifyNotification(discussionNotesSuccessMessage); - cy.closeNotification(); patientDoctorNotes.verifyDiscussionMessage(patientNurseReplyNote); });