Files

16 lines
508 B
TypeScript

import { expect, test } from "@playwright/test";
test("public entry and engineering highlights retain their visual hierarchy", async ({ page }) => {
await page.goto("/login");
await expect(page.locator(".login-access")).toHaveScreenshot("login-access.png", {
animations: "disabled",
maxDiffPixelRatio: 0.02,
});
await page.goto("/highlights");
await expect(page.locator("main")).toHaveScreenshot("highlights-main.png", {
animations: "disabled",
maxDiffPixelRatio: 0.02,
});
});