From b11927ad8f8fd7b168a144a64517db4df8be4768 Mon Sep 17 00:00:00 2001 From: atomiks Date: Tue, 12 Nov 2024 15:51:14 +1100 Subject: [PATCH] Fix tests --- .../src/Popover/Positioner/PopoverPositioner.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 () => {