Skip to content

Commit

Permalink
fixed flaky test in doctor notes (#9569)
Browse files Browse the repository at this point in the history
  • Loading branch information
nihal467 authored Dec 26, 2024
1 parent 13f9f30 commit 20fe265
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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);
});

Expand Down

0 comments on commit 20fe265

Please sign in to comment.