Skip to content

Commit

Permalink
chore: increase diff ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
cristian-ungureanu committed Sep 15, 2023
1 parent 0661e2b commit 585dc5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e-tests/specs/woo-visual-regression/checkout.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ test.describe('Checkout page check', () => {
await page.goto('/checkout/');
await page.locator('#place_order').click();
await page.waitForTimeout(1000);
await expect(page).toHaveScreenshot({ maxDiffPixelRatio: 0.01 });
await expect(page).toHaveScreenshot({ maxDiffPixelRatio: 0.2 });
});

test('Check MyAccount errors', async ({ page }) => {
await page.goto('/my-account/edit-account/');
await page.locator('.woocommerce-Button').first().click();
await expect(page).toHaveScreenshot({ maxDiffPixelRatio: 0.01 });
await expect(page).toHaveScreenshot({ maxDiffPixelRatio: 0.2 });
});
});

0 comments on commit 585dc5d

Please sign in to comment.