diff --git a/lib/FundFilter/FundFilter.js b/lib/FundFilter/FundFilter.js index a2296229..1aa0e9ac 100644 --- a/lib/FundFilter/FundFilter.js +++ b/lib/FundFilter/FundFilter.js @@ -37,7 +37,7 @@ const FundFilter = ({ ariaLabelledBy={`accordion-toggle-button-${id}`} dataOptions={dataOptions} disabled={disabled} - id="acq-tags-filter" + id="fund-filter" name={name} onChange={onChange} selectedValues={activeFilters} diff --git a/lib/FundFilter/FundFilter.test.js b/lib/FundFilter/FundFilter.test.js index d7bd2f77..c7487302 100644 --- a/lib/FundFilter/FundFilter.test.js +++ b/lib/FundFilter/FundFilter.test.js @@ -48,7 +48,7 @@ describe('FundFilter component', () => { it('should render all passed options', async () => { const { findAllByText, getByText } = renderFundFilter(fundRecords); - fireEvent.click(getByText('stripes-components.selection.controlLabel')); + fireEvent.click(getByText('0 items selected')); const renderedFilterOptions = await findAllByText(/Fund #[0-9]/);