From dd5afe83d95f4e208aba1e440f4a52ab65485390 Mon Sep 17 00:00:00 2001 From: Ashraf Mohammed Date: Wed, 20 Mar 2024 14:11:00 +0530 Subject: [PATCH] test --- cypress/e2e/patient_spec/patient_detailpage.cy.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cypress/e2e/patient_spec/patient_detailpage.cy.ts b/cypress/e2e/patient_spec/patient_detailpage.cy.ts index af16397545f..87da61ec47f 100644 --- a/cypress/e2e/patient_spec/patient_detailpage.cy.ts +++ b/cypress/e2e/patient_spec/patient_detailpage.cy.ts @@ -23,6 +23,7 @@ describe("Patient Details", () => { // Record an audio patientPage.visitPatient("Dummy Patient 3"); patientFileUploadPage.visitPatientDetailsPage(); + cy.get("#this is a test").click(); patientFileUploadPage.recordAudio(); const fileName = `Cypress Audio ${new Date() .getTime() @@ -64,7 +65,8 @@ describe("Patient Details", () => { // Login as Nurse 1 loginPage.login("dummynurse1", "Coronasafe@123"); cy.reload(); - cy.wait(2000); + + cy.visit("/user/profile"); // Visit the patient details page patientPage.visitPatient("Dummy Patient 5");