Files
cal.diy/apps/web/playwright/icons.e2e.ts
T
cfadd2e892 feat: cal ai promo design (#23651)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
2025-09-14 12:00:12 -03:00

17 lines
427 B
TypeScript

import { expect } from "@playwright/test";
import { test } from "./lib/fixtures";
// Set a consistent viewport size across all environments
test.use({
viewport: { width: 1265, height: 1464 }, // Match the expected dimensions
});
test("Icons render properly", async ({ page }) => {
await page.goto("/icons");
await expect(page).toHaveScreenshot("icons.png", {
maxDiffPixelRatio: 0.05,
fullPage: true,
});
});