Skip to content

Commit

Permalink
Update patient_detailpage.cy.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
AshrafMd-1 authored Feb 10, 2024
1 parent c2a55c8 commit b0c92c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cypress/e2e/patient_spec/patient_detailpage.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe("Patient Details", () => {
});

it("Record an audio and save it", () => {
patientPage.visitPatient("Cypress Patient");
patientPage.visitPatient("Dummy Patient 3");
patientFileUploadPage.visitPatientDetailsPage();
patientFileUploadPage.recordAudio();
patientFileUploadPage.clickUploadAudioFile();
Expand All @@ -30,7 +30,7 @@ describe("Patient Details", () => {
});

it("Upload a file", () => {
patientPage.visitPatient("Cypress Patient");
patientPage.visitPatient("Dummy Patient 4");
patientFileUploadPage.visitPatientDetailsPage();
patientFileUploadPage.uploadFile();
patientFileUploadPage.clickUploadFile();
Expand All @@ -40,7 +40,7 @@ describe("Patient Details", () => {
});

it("Edit file name", () => {
patientPage.visitPatient("Cypress Patient");
patientPage.visitPatient("Dummy Patient 4");
patientFileUploadPage.visitPatientDetailsPage();
patientFileUploadPage.clickEditFileName(
`Cypress File ${new Date().getTime().toString().slice(9)}`
Expand All @@ -52,7 +52,7 @@ describe("Patient Details", () => {
});

it("Archive file", () => {
patientPage.visitPatient("Cypress Patient");
patientPage.visitPatient("Dummy Patient 4");
patientFileUploadPage.visitPatientDetailsPage();
patientFileUploadPage.clickArchiveFile();
patientFileUploadPage.clickSaveArchiveFile();
Expand Down

0 comments on commit b0c92c1

Please sign in to comment.