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) {