Skip to content

Commit

Permalink
Fix menubar flaky test (#3807)
Browse files Browse the repository at this point in the history
  • Loading branch information
diegohaz committed May 21, 2024
1 parent 9f6d278 commit 8ec9c8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/menubar-navigation/test-browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ test("show menus by hovering over items and subitems", async ({ page }) => {
await expect(q.menu("Services")).not.toBeFocused();

await q.menuitem("Company").hover();
await q.menuitem("Company").hover({ position: { x: 10, y: 10 } });
await expect(q.menuitem("Company")).not.toBeFocused();
await expect(q.menu("Services")).not.toBeVisible();
await expect(q.menu("Company")).toBeVisible();
Expand Down

0 comments on commit 8ec9c8c

Please sign in to comment.