Track HiveGrid Cloud planning reference
This commit is contained in:
1 parent
b3d5ea6764
commit
e341c5938a
5784 files changed
+1104929
-3
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import { test } from "@playwright/test";
|
||||
import { expectNoCriticalA11yViolations } from "./utils/axe";
|
||||
|
||||
test.describe("404 page a11y", () => {
|
||||
test("unknown route has no critical or serious axe violations", async ({ page }) => {
|
||||
// We intentionally do not assert status: React Router renders an
|
||||
// ErrorBoundary client-side for unknown routes, and the response code
|
||||
// is implementation-dependent. The a11y of the rendered DOM is what we
|
||||
// gate on here.
|
||||
await page.goto("/__nonexistent_route__", { waitUntil: "domcontentloaded" });
|
||||
await expectNoCriticalA11yViolations(page);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user