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, }); });