Skip to content

Commit

Permalink
Try and reduce playwright flakiness (#1741)
Browse files Browse the repository at this point in the history
try and reduce playwright flakiness
  • Loading branch information
djahandarie authored Jan 2, 2025
1 parent 8bb34e9 commit 286a307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/playwright/visual.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ test.describe('popup', () => {

try {
await page.mouse.move(box.x - 5, box.y - 5); // Hover near the test
await page.mouse.move(box.x + 15, box.y + 15); // Hover over the test
await page.mouse.move(box.x + 15, box.y + 15, {steps: 10}); // Hover over the test
if (expectedState === 'visible') {
const popup_frame = await frame_attached;
await (await /** @type {import('@playwright/test').Frame} */ (popup_frame).frameElement())
Expand Down

0 comments on commit 286a307

Please sign in to comment.