mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Search: rename remove search constraints
(#53190)
This commit is contained in:
parent
dc775c7577
commit
f61a97a0ab
@ -112,7 +112,7 @@ describe('SearchView', () => {
|
|||||||
});
|
});
|
||||||
render(<SearchView {...baseProps} queryText={'asdfasdfasdf'} />);
|
render(<SearchView {...baseProps} queryText={'asdfasdfasdf'} />);
|
||||||
await waitFor(() => expect(screen.queryByText('No results found for your query.')).toBeInTheDocument());
|
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', () => {
|
describe('include panels', () => {
|
||||||
|
@ -220,7 +220,7 @@ export const SearchView = ({
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Remove search constraints
|
Clear search and filters
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user