Skip to content

Commit

Permalink
try and reduce playwright flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
djahandarie committed Jan 2, 2025
1 parent 20a897f commit 7478ec5
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 7478ec5

Please sign in to comment.