Publish curated Knowledge Hub source from 2ed833f290b439a7bc91e5fd19b042c269e3bee9
This commit is contained in:
1 parent
10f2edcd29
commit
59f15b2d08
218 files changed
+23995
-1849
No files matched your search
@@ -179,6 +179,8 @@ test.describe("V2-M2 accessibility (axe) on primary routes, both themes", () =>
|
||||
|
||||
for (const theme of ["Licht", "Donker"] as const) {
|
||||
test(`primary routes have zero axe violations in ${theme === "Licht" ? "light" : "dark"} mode`, async ({ page }) => {
|
||||
// Seven complete route loads and axe scans share this test's total budget.
|
||||
test.slow();
|
||||
await setTheme(page, theme);
|
||||
for (const routePath of routes) {
|
||||
await page.goto(routePath);
|
||||
@@ -206,6 +208,8 @@ test.describe("V2-M2 accessibility (axe) on primary routes, both themes", () =>
|
||||
|
||||
test.describe("V2-M2 visual fidelity capture (compared against artifacts/stitch/v2/screens by hand)", () => {
|
||||
test("capture implementation screenshots for the required routes/breakpoints/themes", async ({ page }) => {
|
||||
// Eleven captures plus persisted theme changes form one visual evidence set.
|
||||
test.slow();
|
||||
await setTheme(page, "Donker");
|
||||
await page.setViewportSize({ width: 1600, height: 1000 });
|
||||
await page.goto("/");
|
||||
|
||||
Reference in new issue
Block a user