Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
r100-stack committed Mar 6, 2025
1 parent c8f631d commit 27c2f60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/itwinui-react/src/core/Menu/MenuItem.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,10 @@ it('should portal submenu to same place as parent menu', async () => {
await act(async () => parentMenuItem.click());

const portaledParentMenuItem = document.querySelector(
"footer [data-testid='parent']",
"footer > [role='menu'] > [data-testid='parent']",
);
const portaledSubmenuItem = document.querySelector(
"footer [data-testid='sub']",
"footer > [role='menu'] > [data-testid='sub']",
);

expect(portaledParentMenuItem).toBeTruthy();
Expand Down

0 comments on commit 27c2f60

Please sign in to comment.