diff --git a/packages/mui-base/src/Popover/Positioner/PopoverPositioner.test.tsx b/packages/mui-base/src/Popover/Positioner/PopoverPositioner.test.tsx index 82917e3cd..72e7d91b9 100644 --- a/packages/mui-base/src/Popover/Positioner/PopoverPositioner.test.tsx +++ b/packages/mui-base/src/Popover/Positioner/PopoverPositioner.test.tsx @@ -19,14 +19,14 @@ describe('', () => { })); describe('prop: keepMounted', () => { - it('has inert attribute when closed', async () => { + it('has hidden attribute when closed', async () => { await render( , ); - expect(screen.getByTestId('positioner')).to.have.attribute('inert'); + expect(screen.getByTestId('positioner')).to.have.attribute('hidden'); }); it('does not have inert attribute when open', async () => {