diff --git a/superset-frontend/src/components/IconButton/IconButton.test.jsx b/superset-frontend/src/components/IconButton/IconButton.test.jsx index ab39fca74a924..40490011953fa 100644 --- a/superset-frontend/src/components/IconButton/IconButton.test.jsx +++ b/superset-frontend/src/components/IconButton/IconButton.test.jsx @@ -22,18 +22,17 @@ import IconButton from 'src/components/IconButton'; const defaultProps = { buttonText: 'This is the IconButton text', - logo: '/images/icons/sql.svg', + icon: '/images/icons/sql.svg', }; describe('IconButton', () => { it('renders an IconButton', () => { render(); - const logo = screen.getByRole('img'); + const icon = screen.getByRole('img'); const buttonText = screen.getByText(/this is the iconbutton text/i); - screen.logTestingPlaygroundURL(); - expect(logo).toBeVisible(); + expect(icon).toBeVisible(); expect(buttonText).toBeVisible(); }); });