mirror of
https://github.com/apache/superset.git
synced 2026-05-10 18:35:40 +00:00
chore(explore): make metric/column search input clearable (#16320)
* chore(explore): make metric/column search input clearable * Fix typo * Fix test
This commit is contained in:
committed by
GitHub
parent
5f060a2227
commit
2c595b09ea
@@ -116,7 +116,7 @@ test('should render 0 search results', async () => {
|
||||
const searchInput = screen.getByPlaceholderText('Search Metrics & Columns');
|
||||
|
||||
search('nothing', searchInput);
|
||||
expect(await screen.findByText('Showing 0 of 0')).toBeInTheDocument();
|
||||
expect(await screen.findAllByText('Showing 0 of 0')).toHaveLength(2);
|
||||
});
|
||||
|
||||
test('should search and render matching columns', async () => {
|
||||
|
||||
Reference in New Issue
Block a user