10 lines
342 B
TypeScript
10 lines
342 B
TypeScript
import { test } from "@playwright/test";
|
|
import { expectNoCriticalA11yViolations } from "./utils/axe";
|
|
|
|
test.describe("landing page a11y", () => {
|
|
test("/ has no critical or serious axe violations", async ({ page }) => {
|
|
await page.goto("/", { waitUntil: "domcontentloaded" });
|
|
await expectNoCriticalA11yViolations(page);
|
|
});
|
|
});
|