mirror of
https://github.com/apache/superset.git
synced 2026-06-02 06:09:21 +00:00
refactor(Icons): Replaces custom icons with Ant Design 5 icons (#32112)
Replace custom icons with Ant Design 5 icons to standardize the icon
This commit is contained in:
@@ -179,7 +179,7 @@ describe('SavedQuery', () => {
|
||||
|
||||
await waitFor(() => {
|
||||
const saveBtn = screen.getByRole('button', { name: /save/i });
|
||||
const caretBtn = screen.getByRole('button', { name: /caret-down/i });
|
||||
const caretBtn = screen.getByRole('button', { name: /down/i });
|
||||
|
||||
expect(saveBtn).toBeVisible();
|
||||
expect(caretBtn).toBeVisible();
|
||||
@@ -192,7 +192,9 @@ describe('SavedQuery', () => {
|
||||
store: mockStore(mockState),
|
||||
});
|
||||
|
||||
const caretBtn = await screen.findByRole('button', { name: /caret-down/i });
|
||||
const caretBtn = await screen.findByRole('button', {
|
||||
name: /down/i,
|
||||
});
|
||||
userEvent.click(caretBtn);
|
||||
|
||||
const saveDatasetMenuItem = await screen.findByText(/save dataset/i);
|
||||
@@ -209,7 +211,9 @@ describe('SavedQuery', () => {
|
||||
store: mockStore(mockState),
|
||||
});
|
||||
|
||||
const caretBtn = await screen.findByRole('button', { name: /caret-down/i });
|
||||
const caretBtn = await screen.findByRole('button', {
|
||||
name: /down/i,
|
||||
});
|
||||
userEvent.click(caretBtn);
|
||||
|
||||
const saveDatasetMenuItem = await screen.findByText(/save dataset/i);
|
||||
|
||||
Reference in New Issue
Block a user