Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/web-evidence-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
RUN_SCAN_WEB_E2E: "1"
RUN_SCANNER_IMPORT_E2E: "1"
RUN_WEB_CAPABILITIES_E2E: "1"
RUN_WEB_EVIDENCE_E2E: "1"
run: |
node --test tests/web-evidence-adapter.test.mjs tests/web-evidence-e2e.test.mjs tests/scan-web-e2e.test.mjs
node --test tests/scanner-import.test.mjs tests/scanner-import-e2e.test.mjs
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ This project uses a Keep a Changelog-style structure. Until a tagged release is

- Reviewed the Digital Agency accessibility policy against the monitored source on 2026-09-25. The 18 additional criterion mappings and routing are unchanged; the catalog source hash, review date and attribution binding now match the reviewed page.

- The browser test `tests/web-evidence-e2e.test.mjs` is opt-in through `RUN_WEB_EVIDENCE_E2E=1`, like the other browser E2E tests, so a different Playwright version found in a parent directory no longer makes it fail. The `web-evidence-e2e` workflow sets the variable.

### Added

- JIS X 8341-3:2016 SC 4.1.1 has a direct English and Japanese parsing procedure, completing procedure availability for the three bundled Web profiles.
Expand Down
5 changes: 2 additions & 3 deletions tests/web-evidence-e2e.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ import path from "node:path";
import test from "node:test";
import { captureWebEvidence } from "../codex/skills/information-accessibility-practice/scripts/capture-web-evidence.mjs";

let playwrightAvailable = true;
try { await import("playwright"); } catch { playwrightAvailable = false; }
const enabled = process.env.RUN_WEB_EVIDENCE_E2E === "1";

const fixture = fs.readFileSync(path.resolve("examples/web-e2e/target/index.html"));

test("browser adapter captures rendered DOM, AX tree, focus path, and hashes", { skip: !playwrightAvailable }, async () => {
test("browser adapter captures rendered DOM, AX tree, focus path, and hashes", { skip: !enabled }, async () => {
const server = http.createServer((request, response) => {
if (request.url === "/" || request.url === "/index.html") {
response.writeHead(200, { "content-type": "text/html; charset=utf-8" });
Expand Down
Loading