Skip to content

Commit

Permalink
fix e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
selul committed Nov 22, 2024
1 parent 2f95613 commit 8139115
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e-tests/specs/visual-regression/single-post.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ test.describe('Single Post', () => {
continue;
}
await scrollTo(page, position.y);
await page.waitForTimeout(500);
await page.waitForTimeout(2000);
await expect(page).toHaveScreenshot({ maxDiffPixelRatio: 0.01 });
}
});
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/specs/visual-regression/starter-sites.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ test.describe('Starter sites check', () => {
await page.goto(url + '?optml_off=true&onboarding=true');
await page.keyboard.press('End');
await page.evaluate(() => window.scrollTo(0, 0));
await page.waitForTimeout(500);
await page.waitForTimeout(2000);
await expect(page).toHaveScreenshot({
maxDiffPixelRatio: 0.18,
fullPage: true,
Expand Down

0 comments on commit 8139115

Please sign in to comment.