diff --git a/src/applications/caregivers/components/FormFields/FacilitySearch.jsx b/src/applications/caregivers/components/FormFields/FacilitySearch.jsx index c787b0acf2d4..b2a51bb9acfc 100644 --- a/src/applications/caregivers/components/FormFields/FacilitySearch.jsx +++ b/src/applications/caregivers/components/FormFields/FacilitySearch.jsx @@ -234,13 +234,12 @@ const FacilitySearch = props => { {loadingMoreFacilities && loader()} {hasMoreFacilities() && ( - + secondary + uswds + /> )} ); diff --git a/src/applications/caregivers/tests/unit/components/FormFields/FacilitySearch.unit.spec.js b/src/applications/caregivers/tests/unit/components/FormFields/FacilitySearch.unit.spec.js index 8580a0fa0c52..f90debaa7787 100644 --- a/src/applications/caregivers/tests/unit/components/FormFields/FacilitySearch.unit.spec.js +++ b/src/applications/caregivers/tests/unit/components/FormFields/FacilitySearch.unit.spec.js @@ -74,7 +74,9 @@ describe('CG ', () => { loader: container.querySelector('va-loading-indicator'), radioList: container.querySelector('va-radio'), searchInputError: queryByRole('alert'), - moreFacilities: queryByText('Load more facilities'), + moreFacilities: container.querySelector( + 'va-button[text="Load more facilities"]', + ), formNavButtons: { back: getByText('Back'), forward: getByText('Continue'),