Co-authored-by: Peer Richelsen <peeroke@gmail.com> Co-authored-by: CarinaWolli <wollencarina@gmail.com>
17 lines
427 B
TypeScript
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,
|
|
});
|
|
});
|