diff --git a/frontend/src/app/supportAdmin/ManageFacility/FacilitySelectFilter.test.tsx b/frontend/src/app/supportAdmin/ManageFacility/FacilitySelectFilter.test.tsx index 6a1ac79fc2..45b8550b87 100644 --- a/frontend/src/app/supportAdmin/ManageFacility/FacilitySelectFilter.test.tsx +++ b/frontend/src/app/supportAdmin/ManageFacility/FacilitySelectFilter.test.tsx @@ -11,7 +11,7 @@ import { initialState, ManageFacilityState } from "./ManageFacility"; export const getOrgComboBoxElements = () => { const orgSelectionDiv = screen.getByTestId("org-selection-container"); - const orgComboBoxInput = screen.getByLabelText("Organization *"); + const orgComboBoxInput = screen.getByLabelText(/organization/i); const orgComboBoxList = within(orgSelectionDiv).getByTestId( "combo-box-option-list" ); @@ -22,7 +22,7 @@ export const getFacilityComboBoxElements = () => { const facilitySelectionDiv = screen.getByTestId( "facility-selection-container" ); - const facilityComboBoxInput = screen.getByLabelText("Testing facility *"); + const facilityComboBoxInput = screen.getByLabelText(/testing facility/i); const facilityComboBoxList = within(facilitySelectionDiv).getByTestId( "combo-box-option-list" ); diff --git a/frontend/src/app/supportAdmin/ManageFacility/FacilitySelectFilter.tsx b/frontend/src/app/supportAdmin/ManageFacility/FacilitySelectFilter.tsx index 43838bc57e..9b00101214 100644 --- a/frontend/src/app/supportAdmin/ManageFacility/FacilitySelectFilter.tsx +++ b/frontend/src/app/supportAdmin/ManageFacility/FacilitySelectFilter.tsx @@ -85,7 +85,7 @@ const FacilitySelectFilter: React.FC = ({ className="desktop:grid-col-4 tablet:grid-col-4 mobile:grid-col-1 margin-top-1em" > onSelectFacility(val)}