From 1d2e9d6b7b24559437175b545dbbb0612c8dd4f6 Mon Sep 17 00:00:00 2001 From: Manish Jha Date: Wed, 28 Aug 2024 11:32:38 +0530 Subject: [PATCH] minor fix --- frontend/cypress/e2e/report.cy.js | 2 +- frontend/src/components/reports/common/PatientStatusReport.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/cypress/e2e/report.cy.js b/frontend/cypress/e2e/report.cy.js index eb45abb3b7..97018afb8c 100644 --- a/frontend/cypress/e2e/report.cy.js +++ b/frontend/cypress/e2e/report.cy.js @@ -29,7 +29,7 @@ describe("Routine Reports", function () { reportPage.toggleAccordion(3); reportPage.toggleAccordion(6); - reportPage.validateFieldVisibility("#downshift-1-toggle-button"); + reportPage.validateFieldVisibility('[data-cy="dateTypeDropdown"]'); reportPage.validateFieldVisibility( ".cds--date-picker-input__wrapper > #startDate", ); diff --git a/frontend/src/components/reports/common/PatientStatusReport.js b/frontend/src/components/reports/common/PatientStatusReport.js index 0327b5f6ba..39708836e4 100644 --- a/frontend/src/components/reports/common/PatientStatusReport.js +++ b/frontend/src/components/reports/common/PatientStatusReport.js @@ -376,6 +376,7 @@ function PatientStatusReport(props) {