From ccc9af4e5c50f3ff28d8e670e92988c7ab48e1b5 Mon Sep 17 00:00:00 2001 From: Mohammed Nihal <57055998+nihal467@users.noreply.github.com> Date: Tue, 17 Sep 2024 14:23:36 +0530 Subject: [PATCH 1/7] doctor notes cypress test without tab switching --- .../e2e/patient_spec/PatientDoctorNotes.cy.ts | 48 +++++++++++++++++++ cypress/e2e/patient_spec/PatientManage.cy.ts | 48 ------------------- cypress/pageobject/Login/LoginPage.ts | 6 +++ .../pageobject/Patient/PatientConsultation.ts | 26 ---------- cypress/pageobject/Patient/PatientCreation.ts | 1 + .../pageobject/Patient/PatientDoctorNotes.ts | 17 +++++++ 6 files changed, 72 insertions(+), 74 deletions(-) create mode 100644 cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts delete mode 100644 cypress/e2e/patient_spec/PatientManage.cy.ts create mode 100644 cypress/pageobject/Patient/PatientDoctorNotes.ts diff --git a/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts b/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts new file mode 100644 index 00000000000..481c9e8717a --- /dev/null +++ b/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts @@ -0,0 +1,48 @@ +import LoginPage from "../../pageobject/Login/LoginPage"; +import { PatientPage } from "../../pageobject/Patient/PatientCreation"; +import { PatientDoctorNotes } from "../../pageobject/Patient/PatientDoctorNotes"; + +describe("Patient", () => { + const loginPage = new LoginPage(); + const patientPage = new PatientPage(); + const patientDoctorNotes = new PatientDoctorNotes(); + + before(() => { + loginPage.loginAsDisctrictAdmin(); + cy.saveLocalStorage(); + }); + + beforeEach(() => { + cy.restoreLocalStorage(); + cy.clearLocalStorage(/filters--.+/); + cy.awaitUrl("/patients"); + }); + + it("Create a nurse note for a patient and verify both ID received the messages", () => { + // Create a doctor notes a with a district admin + patientPage.visitPatient("Dummy Patient 3"); + patientDoctorNotes.visitDoctorNotesPage(); + cy.verifyNotification( + "Please subscribe to notifications to get live updates on discussion notes.", + ); + cy.closeNotification(); + // switch the switch to nurse note, as the bydefault is doctornotes + + patientDoctorNotes.addDoctorsNotes("Test nurse Notes"); + patientDoctorNotes.postDoctorNotes(); + cy.verifyNotification("Note added successfully"); + cy.closeNotification(); + // verify the auto-switching of tab to nurse notes if the user is a nurse + cy.get("p").contains("Sign Out").click(); + loginPage.loginManuallyAsNurse(); + loginPage.ensureLoggedIn(); + cy.visit("/patients"); + patientPage.visitPatient("Dummy Patient 3"); + patientDoctorNotes.visitDoctorNotesPage(); + cy.closeNotification(); + }); + + afterEach(() => { + cy.saveLocalStorage(); + }); +}); diff --git a/cypress/e2e/patient_spec/PatientManage.cy.ts b/cypress/e2e/patient_spec/PatientManage.cy.ts deleted file mode 100644 index 22d77aa2fda..00000000000 --- a/cypress/e2e/patient_spec/PatientManage.cy.ts +++ /dev/null @@ -1,48 +0,0 @@ -import LoginPage from "../../pageobject/Login/LoginPage"; -import { PatientConsultationPage } from "../../pageobject/Patient/PatientConsultation"; -import { PatientPage } from "../../pageobject/Patient/PatientCreation"; - -describe("Patient", () => { - const loginPage = new LoginPage(); - const patientPage = new PatientPage(); - const patientConsultationPage = new PatientConsultationPage(); - - before(() => { - loginPage.loginAsDisctrictAdmin(); - cy.saveLocalStorage(); - }); - - beforeEach(() => { - cy.restoreLocalStorage(); - cy.clearLocalStorage(/filters--.+/); - cy.awaitUrl("/patients"); - }); - - // it("Create Patient shift requests.", () => { - // patientPage.visitPatient(); - // patientConsultationPage.visitShiftRequestPage(); - // patientConsultationPage.enterPatientShiftDetails( - // "Test User", - // phone_number, - // "Dummy Shifting", - // "Reason" - // ); - // patientConsultationPage.createShiftRequest(); - // patientConsultationPage.verifySuccessNotification( - // "Shift request created successfully" - // ); - // }); - // commented out the shifting request, as logic need to be re-visited - - it("Post discussion notes for an already created patient", () => { - patientPage.visitPatient("Dummy Patient 3"); - patientConsultationPage.visitDoctorNotesPage(); - patientConsultationPage.addDoctorsNotes("Test Doctor Notes"); - patientConsultationPage.postDoctorNotes(); - cy.verifyNotification("Note added successfully"); - }); - - afterEach(() => { - cy.saveLocalStorage(); - }); -}); diff --git a/cypress/pageobject/Login/LoginPage.ts b/cypress/pageobject/Login/LoginPage.ts index c75a024ae03..3dfd267fab2 100644 --- a/cypress/pageobject/Login/LoginPage.ts +++ b/cypress/pageobject/Login/LoginPage.ts @@ -19,6 +19,12 @@ class LoginPage { cy.get("button").contains("Login").click(); } + loginManuallyAsNurse(): void { + cy.get("input[id='username']").click().type("dummynurse1"); + cy.get("input[id='password']").click().type("Coronasafe@123"); + cy.get("button").contains("Login").click(); + } + login(username: string, password: string): void { cy.loginByApi(username, password); } diff --git a/cypress/pageobject/Patient/PatientConsultation.ts b/cypress/pageobject/Patient/PatientConsultation.ts index e4a9810141e..cc5b8e19465 100644 --- a/cypress/pageobject/Patient/PatientConsultation.ts +++ b/cypress/pageobject/Patient/PatientConsultation.ts @@ -110,30 +110,4 @@ export class PatientConsultationPage { ); cy.wait(3000); } - - visitShiftRequestPage() { - cy.get("#create_shift_request").click(); - } - - createShiftRequest() { - cy.intercept("POST", "**/api/v1/shift/").as("createShiftRequest"); - cy.get("#submit").click(); - cy.wait("@createShiftRequest").its("response.statusCode").should("eq", 201); - } - - visitDoctorNotesPage() { - cy.get("#patient_doctor_notes").scrollIntoView(); - cy.get("#patient_doctor_notes").click(); - } - - addDoctorsNotes(notes: string) { - cy.get("#doctor_notes_textarea").scrollIntoView(); - cy.get("#doctor_notes_textarea").click().type(notes); - } - - postDoctorNotes() { - cy.intercept("POST", "**/api/v1/patient/*/notes").as("postDoctorNotes"); - cy.get("#add_doctor_note_button").click(); - cy.wait("@postDoctorNotes").its("response.statusCode").should("eq", 201); - } } diff --git a/cypress/pageobject/Patient/PatientCreation.ts b/cypress/pageobject/Patient/PatientCreation.ts index 739601d5b56..db3c10fdcb5 100644 --- a/cypress/pageobject/Patient/PatientCreation.ts +++ b/cypress/pageobject/Patient/PatientCreation.ts @@ -14,6 +14,7 @@ export class PatientPage { cy.get("#name").click().type(patientName); cy.intercept("GET", "**/api/v1/consultation/**").as("getPatient"); cy.get("#patient-name-list").contains(patientName).click(); + cy.wait(2000); cy.wait("@getPatient").its("response.statusCode").should("eq", 200); cy.get("#patient-name-consultation") .should("be.visible") diff --git a/cypress/pageobject/Patient/PatientDoctorNotes.ts b/cypress/pageobject/Patient/PatientDoctorNotes.ts new file mode 100644 index 00000000000..210b0a1d12b --- /dev/null +++ b/cypress/pageobject/Patient/PatientDoctorNotes.ts @@ -0,0 +1,17 @@ +export class PatientDoctorNotes { + visitDoctorNotesPage() { + cy.get("#patient_doctor_notes").scrollIntoView(); + cy.get("#patient_doctor_notes").click(); + } + + addDoctorsNotes(notes: string) { + cy.get("#doctor_notes_textarea").scrollIntoView(); + cy.get("#doctor_notes_textarea").click().type(notes); + } + + postDoctorNotes() { + cy.intercept("POST", "**/api/v1/patient/*/notes").as("postDoctorNotes"); + cy.get("#add_doctor_note_button").click(); + cy.wait("@postDoctorNotes").its("response.statusCode").should("eq", 201); + } +} From c52d79e443f0d49b823136fb51424c839e4d1270 Mon Sep 17 00:00:00 2001 From: Mohammed Nihal <57055998+nihal467@users.noreply.github.com> Date: Tue, 17 Sep 2024 14:23:50 +0530 Subject: [PATCH 2/7] doctor notes cypress test without tab switching --- cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts b/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts index 481c9e8717a..157a78d31bd 100644 --- a/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts +++ b/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts @@ -27,7 +27,6 @@ describe("Patient", () => { ); cy.closeNotification(); // switch the switch to nurse note, as the bydefault is doctornotes - patientDoctorNotes.addDoctorsNotes("Test nurse Notes"); patientDoctorNotes.postDoctorNotes(); cy.verifyNotification("Note added successfully"); From a46af32445236fb44f4161e65dcece34ef8ef002 Mon Sep 17 00:00:00 2001 From: rithviknishad Date: Tue, 17 Sep 2024 14:41:32 +0530 Subject: [PATCH 3/7] Adds utility fn. to extract keys of obj. in type-safe manner. --- src/Utils/utils.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Utils/utils.ts b/src/Utils/utils.ts index 716f0851464..46832e76228 100644 --- a/src/Utils/utils.ts +++ b/src/Utils/utils.ts @@ -525,3 +525,10 @@ export const celsiusToFahrenheit = (celsius: number) => { export const fahrenheitToCelsius = (fahrenheit: number) => { return ((fahrenheit - 32) * 5) / 9; }; + +/** + * Although same as `Objects.keys(...)`, this provides better type-safety. + */ +export const keysOf = (obj: T) => { + return Object.keys(obj) as (keyof T)[]; +}; From 001333009ac7283cca240a799f3f3c6f8093e7a4 Mon Sep 17 00:00:00 2001 From: rithviknishad Date: Tue, 17 Sep 2024 14:42:05 +0530 Subject: [PATCH 4/7] i18n for patient notes thread titles and add id for tabs --- .../Facility/ConsultationDoctorNotes/index.tsx | 16 ++++++---------- .../Facility/PatientNotesSlideover.tsx | 16 ++++++---------- src/Components/Patient/PatientNotes.tsx | 16 ++++++---------- src/Locale/en/Consultation.json | 6 ++++-- 4 files changed, 22 insertions(+), 32 deletions(-) diff --git a/src/Components/Facility/ConsultationDoctorNotes/index.tsx b/src/Components/Facility/ConsultationDoctorNotes/index.tsx index ccf71cdb0b6..cf7d9c61ef9 100644 --- a/src/Components/Facility/ConsultationDoctorNotes/index.tsx +++ b/src/Components/Facility/ConsultationDoctorNotes/index.tsx @@ -11,7 +11,7 @@ import routes from "../../../Redux/api.js"; import request from "../../../Utils/request/request.js"; import useQuery from "../../../Utils/request/useQuery.js"; import useKeyboardShortcut from "use-keyboard-shortcut"; -import { classNames, isAppleDevice } from "../../../Utils/utils.js"; +import { classNames, isAppleDevice, keysOf } from "../../../Utils/utils.js"; import AutoExpandingTextInputFormField from "../../Form/FormFields/AutoExpandingTextInputFormField.js"; import { PATIENT_NOTES_THREADS } from "../../../Common/constants.js"; import useAuthUser from "../../../Common/hooks/useAuthUser.js"; @@ -123,23 +123,19 @@ const ConsultationDoctorNotes = (props: ConsultationDoctorNotesProps) => { >
- {Object.values(PATIENT_NOTES_THREADS).map((current) => ( + {keysOf(PATIENT_NOTES_THREADS).map((current) => ( ))}
diff --git a/src/Components/Facility/PatientNotesSlideover.tsx b/src/Components/Facility/PatientNotesSlideover.tsx index 9b1f7e2424d..3ebb1064d36 100644 --- a/src/Components/Facility/PatientNotesSlideover.tsx +++ b/src/Components/Facility/PatientNotesSlideover.tsx @@ -2,7 +2,7 @@ import { useState, useEffect, Dispatch, SetStateAction } from "react"; import * as Notification from "../../Utils/Notifications.js"; import { NonReadOnlyUsers } from "../../Utils/AuthorizeFor"; import CareIcon from "../../CAREUI/icons/CareIcon"; -import { classNames, isAppleDevice } from "../../Utils/utils"; +import { classNames, isAppleDevice, keysOf } from "../../Utils/utils"; import ButtonV2 from "../Common/components/ButtonV2"; import { useMessageListener } from "../../Common/hooks/useMessageListener"; import PatientConsultationNotesList from "./PatientConsultationNotesList"; @@ -193,23 +193,19 @@ export default function PatientNotesSlideover(props: PatientNotesProps) { {notesActionIcons}
- {Object.values(PATIENT_NOTES_THREADS).map((current) => ( + {keysOf(PATIENT_NOTES_THREADS).map((current) => ( ))}
diff --git a/src/Components/Patient/PatientNotes.tsx b/src/Components/Patient/PatientNotes.tsx index 718823bb54b..7138f4df8e5 100644 --- a/src/Components/Patient/PatientNotes.tsx +++ b/src/Components/Patient/PatientNotes.tsx @@ -11,7 +11,7 @@ import request from "../../Utils/request/request"; import routes from "../../Redux/api"; import { PATIENT_NOTES_THREADS } from "../../Common/constants.js"; import useAuthUser from "../../Common/hooks/useAuthUser.js"; -import { classNames } from "../../Utils/utils.js"; +import { classNames, keysOf } from "../../Utils/utils.js"; import AutoExpandingTextInputFormField from "../Form/FormFields/AutoExpandingTextInputFormField.js"; import { t } from "i18next"; @@ -106,23 +106,19 @@ const PatientNotes = (props: PatientNotesProps) => { >
- {Object.values(PATIENT_NOTES_THREADS).map((current) => ( + {keysOf(PATIENT_NOTES_THREADS).map((current) => ( ))}
diff --git a/src/Locale/en/Consultation.json b/src/Locale/en/Consultation.json index 65ea63e875c..8282656b560 100644 --- a/src/Locale/en/Consultation.json +++ b/src/Locale/en/Consultation.json @@ -55,5 +55,7 @@ "back_dated_encounter_date_caution": "You are creating an encounter for", "encounter_duration_confirmation": "The duration of this encounter would be", "consultation_notes": "General Instructions (Advice)", - "procedure_suggestions": "Procedure Suggestions" -} + "procedure_suggestions": "Procedure Suggestions", + "patient_notes_thread__Doctors": "Doctor's Discussions", + "patient_notes_thread__Nurses": "Nurse's Discussions" +} \ No newline at end of file From 847349276aa884f13a05f54fa7aefbf15a478394 Mon Sep 17 00:00:00 2001 From: Mohammed Nihal <57055998+nihal467@users.noreply.github.com> Date: Tue, 17 Sep 2024 15:36:38 +0530 Subject: [PATCH 5/7] discussion note tab switching functionality test --- .../e2e/patient_spec/PatientDoctorNotes.cy.ts | 33 +++++++++++++------ .../pageobject/Patient/PatientDoctorNotes.ts | 30 ++++++++++++----- .../Facility/ConsultationDetails/index.tsx | 2 +- .../Facility/PatientNotesSlideover.tsx | 2 +- 4 files changed, 46 insertions(+), 21 deletions(-) diff --git a/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts b/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts index 157a78d31bd..482b33e7b27 100644 --- a/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts +++ b/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts @@ -2,10 +2,15 @@ import LoginPage from "../../pageobject/Login/LoginPage"; import { PatientPage } from "../../pageobject/Patient/PatientCreation"; import { PatientDoctorNotes } from "../../pageobject/Patient/PatientDoctorNotes"; -describe("Patient", () => { +describe("Patient Doctor notes in the consultation page", () => { const loginPage = new LoginPage(); const patientPage = new PatientPage(); const patientDoctorNotes = new PatientDoctorNotes(); + const patientName = "Dummy Patient 4"; + const patientNurseNote = "Test nurse Notes"; + const patientNurseReplyNote = "Test nurse reply Notes"; + const discussionNotesSubscribeWarning = + "Please subscribe to notifications to get live updates on discussion notes."; before(() => { loginPage.loginAsDisctrictAdmin(); @@ -20,15 +25,14 @@ describe("Patient", () => { it("Create a nurse note for a patient and verify both ID received the messages", () => { // Create a doctor notes a with a district admin - patientPage.visitPatient("Dummy Patient 3"); - patientDoctorNotes.visitDoctorNotesPage(); - cy.verifyNotification( - "Please subscribe to notifications to get live updates on discussion notes.", - ); + patientPage.visitPatient(patientName); + patientDoctorNotes.visitDiscussionNotesPage(); + cy.verifyNotification(discussionNotesSubscribeWarning); cy.closeNotification(); // switch the switch to nurse note, as the bydefault is doctornotes - patientDoctorNotes.addDoctorsNotes("Test nurse Notes"); - patientDoctorNotes.postDoctorNotes(); + patientDoctorNotes.selectNurseDiscussion(); + patientDoctorNotes.addDiscussionNotes(patientNurseNote); + patientDoctorNotes.postDiscussionNotes(); cy.verifyNotification("Note added successfully"); cy.closeNotification(); // verify the auto-switching of tab to nurse notes if the user is a nurse @@ -36,9 +40,18 @@ describe("Patient", () => { loginPage.loginManuallyAsNurse(); loginPage.ensureLoggedIn(); cy.visit("/patients"); - patientPage.visitPatient("Dummy Patient 3"); - patientDoctorNotes.visitDoctorNotesPage(); + patientPage.visitPatient(patientName); + patientDoctorNotes.visitDiscussionNotesPage(); + // verify the message is received from admin + cy.verifyNotification(discussionNotesSubscribeWarning); cy.closeNotification(); + patientDoctorNotes.verifyDiscussionMessage(patientNurseNote); + // Post a reply comment to the message + patientDoctorNotes.addDiscussionNotes(patientNurseReplyNote); + patientDoctorNotes.postDiscussionNotes(); + cy.verifyNotification("Note added successfully"); + cy.closeNotification(); + patientDoctorNotes.verifyDiscussionMessage(patientNurseReplyNote); }); afterEach(() => { diff --git a/cypress/pageobject/Patient/PatientDoctorNotes.ts b/cypress/pageobject/Patient/PatientDoctorNotes.ts index 210b0a1d12b..9538b0eed3b 100644 --- a/cypress/pageobject/Patient/PatientDoctorNotes.ts +++ b/cypress/pageobject/Patient/PatientDoctorNotes.ts @@ -1,17 +1,29 @@ export class PatientDoctorNotes { - visitDoctorNotesPage() { - cy.get("#patient_doctor_notes").scrollIntoView(); - cy.get("#patient_doctor_notes").click(); + visitDiscussionNotesPage() { + cy.get("#patient_discussion_notes").scrollIntoView(); + cy.get("#patient_discussion_notes").click(); } - addDoctorsNotes(notes: string) { - cy.get("#doctor_notes_textarea").scrollIntoView(); - cy.get("#doctor_notes_textarea").click().type(notes); + addDiscussionNotes(notes: string) { + cy.wait(2000); + cy.get("#discussion_notes_textarea").scrollIntoView(); + cy.get("#discussion_notes_textarea").click().type(notes); } - postDoctorNotes() { - cy.intercept("POST", "**/api/v1/patient/*/notes").as("postDoctorNotes"); + selectNurseDiscussion() { + cy.get("#patient-note-tab-Nurses").scrollIntoView(); + cy.get("#patient-note-tab-Nurses").click(); + } + + verifyDiscussionMessage(text: string) { + cy.get("#patient-notes-list").contains(text); + } + + postDiscussionNotes() { + cy.intercept("POST", "**/api/v1/patient/*/notes").as("postDiscussionNotes"); cy.get("#add_doctor_note_button").click(); - cy.wait("@postDoctorNotes").its("response.statusCode").should("eq", 201); + cy.wait("@postDiscussionNotes") + .its("response.statusCode") + .should("eq", 201); } } diff --git a/src/Components/Facility/ConsultationDetails/index.tsx b/src/Components/Facility/ConsultationDetails/index.tsx index f2c2644afda..78f7022b683 100644 --- a/src/Components/Facility/ConsultationDetails/index.tsx +++ b/src/Components/Facility/ConsultationDetails/index.tsx @@ -288,7 +288,7 @@ export const ConsultationDetails = (props: any) => { Patient Details showPatientNotesPopup ? navigate( diff --git a/src/Components/Facility/PatientNotesSlideover.tsx b/src/Components/Facility/PatientNotesSlideover.tsx index 3ebb1064d36..d7847c3add7 100644 --- a/src/Components/Facility/PatientNotesSlideover.tsx +++ b/src/Components/Facility/PatientNotesSlideover.tsx @@ -219,7 +219,7 @@ export default function PatientNotesSlideover(props: PatientNotesProps) { />
Date: Tue, 17 Sep 2024 15:37:19 +0530 Subject: [PATCH 6/7] made success notification as variables --- cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts b/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts index 482b33e7b27..3bb7f3483e8 100644 --- a/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts +++ b/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts @@ -11,6 +11,7 @@ describe("Patient Doctor notes in the consultation page", () => { const patientNurseReplyNote = "Test nurse reply Notes"; const discussionNotesSubscribeWarning = "Please subscribe to notifications to get live updates on discussion notes."; + const discussionNotesSuccessMessage = "Note added successfully"; before(() => { loginPage.loginAsDisctrictAdmin(); @@ -33,7 +34,7 @@ describe("Patient Doctor notes in the consultation page", () => { patientDoctorNotes.selectNurseDiscussion(); patientDoctorNotes.addDiscussionNotes(patientNurseNote); patientDoctorNotes.postDiscussionNotes(); - cy.verifyNotification("Note added successfully"); + cy.verifyNotification(discussionNotesSuccessMessage); cy.closeNotification(); // verify the auto-switching of tab to nurse notes if the user is a nurse cy.get("p").contains("Sign Out").click(); @@ -49,7 +50,7 @@ describe("Patient Doctor notes in the consultation page", () => { // Post a reply comment to the message patientDoctorNotes.addDiscussionNotes(patientNurseReplyNote); patientDoctorNotes.postDiscussionNotes(); - cy.verifyNotification("Note added successfully"); + cy.verifyNotification(discussionNotesSuccessMessage); cy.closeNotification(); patientDoctorNotes.verifyDiscussionMessage(patientNurseReplyNote); }); From 6f4277194d69918b9a161d9d2dde7b6bded20c5e Mon Sep 17 00:00:00 2001 From: Mohammed Nihal <57055998+nihal467@users.noreply.github.com> Date: Tue, 17 Sep 2024 15:50:39 +0530 Subject: [PATCH 7/7] corrected the test description --- cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts b/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts index 3bb7f3483e8..5b0ceac0c8e 100644 --- a/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts +++ b/cypress/e2e/patient_spec/PatientDoctorNotes.cy.ts @@ -2,7 +2,7 @@ import LoginPage from "../../pageobject/Login/LoginPage"; import { PatientPage } from "../../pageobject/Patient/PatientCreation"; import { PatientDoctorNotes } from "../../pageobject/Patient/PatientDoctorNotes"; -describe("Patient Doctor notes in the consultation page", () => { +describe("Patient Discussion notes in the consultation page", () => { const loginPage = new LoginPage(); const patientPage = new PatientPage(); const patientDoctorNotes = new PatientDoctorNotes();