Search: rename remove search constraints (#53190)

This commit is contained in:
Artur Wierzbicki 2022-08-03 16:44:51 +04:00 committed by GitHub
parent dc775c7577
commit f61a97a0ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ describe('SearchView', () => {
});
render(<SearchView {...baseProps} queryText={'asdfasdfasdf'} />);
await waitFor(() => expect(screen.queryByText('No results found for your query.')).toBeInTheDocument());
expect(screen.getByRole('button', { name: 'Remove search constraints' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: 'Clear search and filters' })).toBeInTheDocument();
});
describe('include panels', () => {

View File

@ -220,7 +220,7 @@ export const SearchView = ({
}
}}
>
Remove search constraints
Clear search and filters
</Button>
</div>
);