From 5777eed93cb1e7cacca42ade5a6b166612950964 Mon Sep 17 00:00:00 2001 From: Mohammed Nihal <57055998+nihal467@users.noreply.github.com> Date: Sat, 12 Oct 2024 05:22:08 +0530 Subject: [PATCH] fixed the patient count --- cypress/e2e/patient_spec/PatientHomepage.cy.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cypress/e2e/patient_spec/PatientHomepage.cy.ts b/cypress/e2e/patient_spec/PatientHomepage.cy.ts index f63928fdbe3..9f6e1f27480 100644 --- a/cypress/e2e/patient_spec/PatientHomepage.cy.ts +++ b/cypress/e2e/patient_spec/PatientHomepage.cy.ts @@ -67,7 +67,7 @@ describe("Patient Homepage present functionalities", () => { patientHome.verifyTotalPatientCount("0"); // Clear the badges and verify the patient count along with badges cy.clearAllFilters(); - patientHome.verifyTotalPatientCount("18"); + patientHome.verifyTotalPatientCount("1"); // Apply Any and confirmed diagonsis to verify patient count 17 patientHome.clickPatientAdvanceFilters(); patientHome.selectAnyIcdDiagnosis(patientIcdDiagnosis, patientIcdDiagnosis); @@ -76,7 +76,7 @@ describe("Patient Homepage present functionalities", () => { patientIcdDiagnosis, ); patientHome.clickPatientFilterApply(); - patientHome.verifyTotalPatientCount("17"); + patientHome.verifyTotalPatientCount("1"); }); it("Patient Details based advance filters applied in the patient tab", () => { @@ -106,7 +106,7 @@ describe("Patient Homepage present functionalities", () => { patientHome.verifyMedicoBadgeContent("false"); // Clear the badges and verify the patient count along with badges cy.clearAllFilters(); - patientHome.verifyTotalPatientCount("18"); + patientHome.verifyTotalPatientCount("1"); }); it("Export the live patient list based on a date range", () => {