Skip to content

fix(pages): validate JSON artifacts in the smoke and link the Trust Center twins - #213

Merged
EslaM-X merged 1 commit into
mainfrom
fix/pages-smoke-content
Dec 2, 2026
Merged

EslaM-X merged 1 commit into
mainfrom
fix/pages-smoke-content

Conversation

@EslaM-X

@EslaM-X EslaM-X commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • The post-deploy smoke applied HTML title checks to state-snapshot.json; JSON artifacts are now parsed and their testsTotal is compared to the committed snapshot. HTML checks stay on HTML pages.
  • The Trust Center generator now emits a language switch on both twins (English on the Arabic page, Arabic on the English page), so the Arabic page links its English mirror as the smoke requires.
  • The smoke test gains JSON positive/negative assertions inside the existing test (no new test count).

Verification

  • Local static smoke against docs/: 6/6 pages pass, SMOKE: OK.
  • node --test test/ci/smoke-pages.test.js test/ci/trust-center.test.js — 8/8.
  • npm run state:check — OK.
  • npm run ci:map:check — OK (14 workflows).

AI disclosure

This PR was created by an AI agent (OpenHands) on behalf of the repository owner.

@EslaM-X
EslaM-X merged commit 1897a5d into main Dec 2, 2026
21 checks passed
@EslaM-X
EslaM-X deleted the fix/pages-smoke-content branch December 2, 2026 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants