mirror of
https://github.com/apache/superset.git
synced 2026-08-04 04:52:32 +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:
@@ -43,7 +43,7 @@ test('should render', () => {
|
||||
test('should render warning icon', () => {
|
||||
render(<BasicErrorAlert {...mockedProps} />);
|
||||
expect(
|
||||
screen.getByRole('img', { name: 'warning-solid' }),
|
||||
screen.getByRole('img', { name: 'exclamation-circle' }),
|
||||
).toBeInTheDocument();
|
||||
});
|
||||
|
||||
@@ -53,7 +53,9 @@ test('should render error icon', () => {
|
||||
level: 'error' as ErrorLevel,
|
||||
};
|
||||
render(<BasicErrorAlert {...errorProps} />);
|
||||
expect(screen.getByRole('img', { name: 'error-solid' })).toBeInTheDocument();
|
||||
expect(
|
||||
screen.getByRole('img', { name: 'exclamation-circle' }),
|
||||
).toBeInTheDocument();
|
||||
});
|
||||
|
||||
test('should render the error title', () => {
|
||||
|
||||
Reference in New Issue
Block a user