Search: rename remove search constraints (#53190) (#53217)

(cherry picked from commit f61a97a0ab)

Co-authored-by: Artur Wierzbicki <wierzbicki.artur.94@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2022-08-03 08:55:36 -04:00
committed by GitHub
co-authored by Artur Wierzbicki
parent 99293c5cf2
commit 3489677be1
2 changed files with 2 additions and 2 deletions
@@ -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', () => {
@@ -220,7 +220,7 @@ export const SearchView = ({
}
}}
>
Remove search constraints
Clear search and filters
</Button>
</div>
);