mirror of
https://github.com/apache/superset.git
synced 2026-07-20 21:55:46 +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:
@@ -105,10 +105,10 @@ test('Should have add button', async () => {
|
||||
render(<CollectionControl {...props} />);
|
||||
|
||||
expect(
|
||||
await screen.findByRole('button', { name: 'plus-large' }),
|
||||
await screen.findByRole('button', { name: 'plus' }),
|
||||
).toBeInTheDocument();
|
||||
expect(props.onChange).toHaveBeenCalledTimes(0);
|
||||
userEvent.click(screen.getByRole('button', { name: 'plus-large' }));
|
||||
userEvent.click(screen.getByRole('button', { name: 'plus' }));
|
||||
expect(props.onChange).toHaveBeenCalledWith([
|
||||
{ key: 'hrYAZ5iBH' },
|
||||
undefined,
|
||||
|
||||
Reference in New Issue
Block a user