mirror of
https://github.com/apache/superset.git
synced 2026-04-27 20:14:54 +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:
@@ -36,7 +36,7 @@ describe('SaveDatasetActionButton', () => {
|
||||
);
|
||||
|
||||
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(
|
||||
await screen.findByRole('button', { name: /save/i }),
|
||||
@@ -53,9 +53,9 @@ describe('SaveDatasetActionButton', () => {
|
||||
/>,
|
||||
);
|
||||
|
||||
const caretBtn = screen.getByRole('button', { name: /caret-down/i });
|
||||
const caretBtn = screen.getByRole('button', { name: /down/i });
|
||||
expect(
|
||||
await screen.findByRole('button', { name: /caret-down/i }),
|
||||
await screen.findByRole('button', { name: /down/i }),
|
||||
).toBeInTheDocument();
|
||||
userEvent.click(caretBtn);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user