Skip to content

Commit

Permalink
fixed falky test in patient tab
Browse files Browse the repository at this point in the history
  • Loading branch information
nihal467 committed Dec 15, 2024
1 parent 6ae979a commit 4f05216
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cypress/e2e/patient_spec/PatientHomepage.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ describe("Patient Homepage present functionalities", () => {
patientHome.verifyPatientAdmittedBeforeDate(patientToDateBadge);
patientHome.verifyPatientAdmittedAfterDate(patientFromDateBadge);
cy.clearAllFilters();
patientHome.verifyTotalPatientCount("1");
});

it("Facility Geography based advance filters applied in the patient tab", () => {
Expand All @@ -71,7 +70,6 @@ describe("Patient Homepage present functionalities", () => {
patientHome.verifyFacilityLsgBadgeContent(facilityLsgBody);
patientHome.verifyFacilityDistrictContent(facilityDistrict);
cy.clearAllFilters();
patientHome.verifyTotalPatientCount("1");
});

it("Patient diagnosis based advance filters applied in the patient tab", () => {
Expand Down Expand Up @@ -104,7 +102,6 @@ describe("Patient Homepage present functionalities", () => {
patientHome.verifyDifferentialDiagnosisBadgeContent(patientIcdDiagnosis);
// Clear the badges and verify the patient count along with badges
cy.clearAllFilters();
patientHome.verifyTotalPatientCount("1");
// Apply Any and confirmed diagonsis to verify patient count 17
advanceFilters.clickAdvancedFiltersButton();
patientHome.selectAnyIcdDiagnosis(patientIcdDiagnosis, patientIcdDiagnosis);
Expand Down Expand Up @@ -142,7 +139,6 @@ describe("Patient Homepage present functionalities", () => {
patientHome.verifyMedicoBadgeContent("false");
// Clear the badges and verify the patient count along with badges
cy.clearAllFilters();
patientHome.verifyTotalPatientCount("1");
});

it("Export the live patient list based on a date range", () => {
Expand Down

0 comments on commit 4f05216

Please sign in to comment.