Skip to content

Commit

Permalink
ci(e2e): Update screenshots for 6.0-stable (#6888)
Browse files Browse the repository at this point in the history
* Try to wait a little before making screenshot in PullToRefresh
Locally it still works as expected


Co-authored-by: vkcom-publisher <[email protected]>
Co-authored-by: Andrey Medvedev <[email protected]>
Co-authored-by: GitHub Action <[email protected]>
  • Loading branch information
4 people authored May 8, 2024
1 parent ff57b1d commit c20c794
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ test.describe('PullToRefresh', () => {
await page.mouse.down();
await page.mouse.move(100, 380, { steps: 10 });

await page.evaluate(() => new Promise((resolve) => setTimeout(resolve, 500)));
await expectScreenshotClippedToContent();
});

Expand All @@ -43,6 +44,7 @@ test.describe('PullToRefresh', () => {
await page.mouse.down();
await page.mouse.move(200, 380, { steps: 10 });

await page.evaluate(() => new Promise((resolve) => setTimeout(resolve, 500)));
await expectScreenshotClippedToContent();
});

Expand Down

0 comments on commit c20c794

Please sign in to comment.