Skip to content

Commit d5dd819

Browse files
cwoolumTheMcnafaha
andcommitted
test: remove hero test flakiness
Co-authored-by: TheMcnafaha <[email protected]>
1 parent a77093e commit d5dd819

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/kit-headless/src/components/popover/popover.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ test.describe('Mouse Behavior', () => {
4242

4343
await expect(d.getPopover()).toBeVisible();
4444

45-
await page.click('body', { position: { x: 0, y: 0 } });
46-
await page.click('body', { position: { x: 0, y: 0 } });
45+
const outsideDiv = page.locator('#content-outside-of-popover');
46+
await outsideDiv.click();
4747

4848
await expect(d.getPopover()).toBeHidden();
4949
});

0 commit comments

Comments
 (0)