diff --git a/packages/mui-material-next/src/ButtonGroup/ButtonGroup.test.tsx b/packages/mui-material-next/src/ButtonGroup/ButtonGroup.test.tsx index 18e5ed580236bb..0bed42a7b3e058 100644 --- a/packages/mui-material-next/src/ButtonGroup/ButtonGroup.test.tsx +++ b/packages/mui-material-next/src/ButtonGroup/ButtonGroup.test.tsx @@ -121,16 +121,6 @@ describe('', () => { expect(button).to.have.class(buttonClasses.sizeLarge); }); - it('should have a ripple by default', () => { - const props = { TouchRippleProps: { classes: { root: 'touchRipple' } } }; - const { container } = render( - - - , - ); - expect(container.querySelector('.touchRipple')).not.to.equal(null); - }); - it('can disable the elevation', () => { const { getByRole } = render( diff --git a/packages/mui-material-next/src/IconButton/IconButton.test.js b/packages/mui-material-next/src/IconButton/IconButton.test.js index b436cfaab61374..d5f432d1532494 100644 --- a/packages/mui-material-next/src/IconButton/IconButton.test.js +++ b/packages/mui-material-next/src/IconButton/IconButton.test.js @@ -30,13 +30,6 @@ describe('', () => { expect(getByTestId('icon')).to.have.class(childClassName); }); - it('should have a ripple by default', () => { - const { container } = render( - book, - ); - expect(container.querySelector('.touch-ripple')).not.to.equal(null); - }); - it('can disable the ripple and hover effect', () => { const { container } = render( diff --git a/packages/mui-material-next/src/Tab/Tab.test.js b/packages/mui-material-next/src/Tab/Tab.test.js index ac5fdb6e89c8e9..0c4806b45883f2 100644 --- a/packages/mui-material-next/src/Tab/Tab.test.js +++ b/packages/mui-material-next/src/Tab/Tab.test.js @@ -18,16 +18,11 @@ describe('', () => { skip: ['componentProp', 'componentsProp'], })); - it('should have a ripple by default', () => { - const { container } = render(); - - expect(container.querySelector('.touch-ripple')).not.to.equal(null); - }); - it('can disable the ripple', () => { const { container } = render( , ); + container.click(); expect(container.querySelector('.touch-ripple')).to.equal(null); }); diff --git a/packages/mui-material/src/Button/Button.test.js b/packages/mui-material/src/Button/Button.test.js index 76381c29cec6f8..3a03eb8118c322 100644 --- a/packages/mui-material/src/Button/Button.test.js +++ b/packages/mui-material/src/Button/Button.test.js @@ -511,15 +511,6 @@ describe(', - ); - const button = getByRole('button'); - - expect(button.querySelector('.touch-ripple')).not.to.equal(null); - }); - it('can disable the ripple', () => { const { getByRole } = render( - , - ); - expect(container.querySelector('.touchRipple')).not.to.equal(null); - }); - it('can disable the elevation', () => { const { getByRole } = render( diff --git a/packages/mui-material/src/Fab/Fab.test.js b/packages/mui-material/src/Fab/Fab.test.js index df56852e626573..5881902947d8bf 100644 --- a/packages/mui-material/src/Fab/Fab.test.js +++ b/packages/mui-material/src/Fab/Fab.test.js @@ -89,12 +89,6 @@ describe('', () => { expect(button).to.have.class(classes.sizeMedium); }); - it('should have a ripple by default', () => { - const { container } = render(Fab); - - expect(container.querySelector(`.${touchRippleClasses.root}`)).not.to.equal(null); - }); - it('should pass disableRipple to ButtonBase', () => { const { container } = render(Fab); diff --git a/packages/mui-material/src/IconButton/IconButton.test.js b/packages/mui-material/src/IconButton/IconButton.test.js index 7c744f92a59c47..081ebb38dd4a2b 100644 --- a/packages/mui-material/src/IconButton/IconButton.test.js +++ b/packages/mui-material/src/IconButton/IconButton.test.js @@ -29,13 +29,6 @@ describe('', () => { expect(getByTestId('icon')).to.have.class(childClassName); }); - it('should have a ripple by default', () => { - const { container } = render( - book, - ); - expect(container.querySelector('.touch-ripple')).not.to.equal(null); - }); - it('can disable the ripple and hover effect', () => { const { container } = render( diff --git a/packages/mui-material/src/Tab/Tab.test.js b/packages/mui-material/src/Tab/Tab.test.js index 4aabc73afffd9c..dbc570deb57ea4 100644 --- a/packages/mui-material/src/Tab/Tab.test.js +++ b/packages/mui-material/src/Tab/Tab.test.js @@ -18,16 +18,11 @@ describe('', () => { skip: ['componentProp', 'componentsProp'], })); - it('should have a ripple by default', () => { - const { container } = render(); - - expect(container.querySelector('.touch-ripple')).not.to.equal(null); - }); - it('can disable the ripple', () => { const { container } = render( , ); + container.click(); expect(container.querySelector('.touch-ripple')).to.equal(null); }); diff --git a/packages/mui-material/src/internal/SwitchBase.test.js b/packages/mui-material/src/internal/SwitchBase.test.js index a40e478f719c44..e9ed90858506a6 100644 --- a/packages/mui-material/src/internal/SwitchBase.test.js +++ b/packages/mui-material/src/internal/SwitchBase.test.js @@ -42,19 +42,6 @@ describe('', () => { expect(buttonInside.childNodes[1]).to.have.text('unchecked'); }); - it('should have a ripple by default', () => { - const { getByTestId } = render( - , - ); - - expect(getByTestId('TouchRipple')).not.to.equal(null); - }); - it('can have edge', () => { const { container } = render( ,