Skip to content

Commit

Permalink
test: fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
alisher-epam committed Oct 23, 2024
1 parent ad99351 commit dfbae08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/FundFilter/FundFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion lib/FundFilter/FundFilter.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]/);

Expand Down

0 comments on commit dfbae08

Please sign in to comment.