import { test, expect } from "@playwright/test"; test.describe("Visual Regression - Public Pages", () => { test("homepage should match baseline", async ({ page }) => { await page.goto("/"); await expect(page.locator("main")).toBeVisible({ timeout: 10000 }); await expect(page).toHaveScreenshot({ maxDiffPixelRatio: 0.1 }); }); test("jobs page should match baseline", async ({ page }) => { await page.goto("/jobs"); await expect(page.locator("main")).toBeVisible({ timeout: 10000 }); await expect(page).toHaveScreenshot({ maxDiffPixelRatio: 0.1 }); }); });