Skip to content

test(case): capture live Pages 320px light/dark browser evidence - #200

Merged
drevendev merged 9 commits into
masterfrom
beautifulrepo/trade-pages-browser-evidence-20261030
Oct 30, 2026
Merged

drevendev merged 9 commits into
masterfrom
beautifulrepo/trade-pages-browser-evidence-20261030

Conversation

@drevendev

Copy link
Copy Markdown
Owner

Reader outcome

Adds a real (not static-source-only) read-only Chromium observation path for the remaining trade_simulation case #82. It opens the public GitHub Pages viewer at 320 CSS px in emulated light and dark schemes, records actual rendered values and horizontal overflow, and retains screenshots and a JSON observation artifact. It compares the served saved-run JSON bytes with the immutable source fixture, without claiming that this proves the HTML/JS deployment SHA.

Implementation

  • case-studies/trade-pages-probe.mjs: isolated Playwright observer; 320px screenshot, last-tick/capital observation, page errors, theme backgrounds, serialized JSON.
  • .github/workflows/trade-pages-visual.yml: on-demand and PR-path-scoped; checks out the target at 36bd70ea399813accf21d350aa5a0067f059757e, installs from that exact lockfile with target scripts disabled; reads the live website but writes neither repository.
  • Reviewed SHA-pinned setup-node and upload-artifact entries; documentary status kept explicitly pending until the job and its screenshots have been inspected.

Validation / acceptance

  • Quality CI including action-pin manifest and unit tests on this exact head.
  • New browser workflow: check actual job log, captured screenshots/observations and any site drift.
  • Separate later-run judgement before merging; update case/issue with observed results, not expected results.

No target repo changes, releases, settings, credentials, scheduler changes or independent accessibility-conformance claim. Real phone, 400% zoom, keyboard traversal and screen reader remain NOT RUN.

@drevendev drevendev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exact-head content review — 92d194999f57766d29e9a20a5c6feace6a00fa83 (PR #200; related #82).

Judgement: The bounded, read-only Pages observation is supported by the available evidence. I found no blocking implementation or evidence-integrity defect within this PR's declared scope.

  • Inspected the six changed files, repo-local contributor/security instructions, case acceptance and prior Issue #82 evidence. The new probe obtains Playwright from the pinned trade_simulation checkout (36bd70ea399813accf21d350aa5a0067f059757e), disables target npm lifecycle scripts, and records results outside the repositories; the workflow has read-only GitHub permissions.
  • Checked the current-head CI association: quality workflow #40974111346 passed all six jobs (the Python 3.11 log reports 480 tests, six skipped); pinned-case workflow #40974111348 passed; live Chromium workflow #40974111344 passed.
  • Independently downloaded and inspected the current-head browser artifact, verified its ZIP SHA-256 against GitHub's recorded digest, read observations.json and visually inspected both full-page 320px PNGs. Both themes returned HTTP 200; served saved-JSON SHA-256 was f10fc8b9f67c55ed17158346c46ad686c6f3409dd08f379bda7a96055a880980 matching the pinned fixture, tick 59 / capital 78.04 rendered, no reported page errors or document-level overflow, and light/dark backgrounds differed. The captured narrow layouts have no obvious cut-off in the visible collapsed-state screenshot; small annotations remain a legibility question, not an accessibility pass.
  • Non-blocking editorial consistency: the added CHANGELOG.md text still says screenshot pixel inspection is unverified for run #40973430007, while case-studies/trade_simulation.md states those very screenshots were inspected. Align the two statements when convenient.

Evidence boundary: This does not prove the deployed HTML/JS commit, live simulation execution, physical-phone behavior, 400% zoom, keyboard/focus or screen-reader acceptance. Leave Issue #82 open. CI and saved-data observations are not equivalent to these unavailable tests.

Formal gate limitation: Authenticated GitHub reviewer is drevendev, the same actor that authored this PR. This is therefore a content judgement via COMMENT, not an independent APPROVE; it does not satisfy any required distinct-reviewer approval gate. No merge, deployment or Issue transition is asserted.

@drevendev
drevendev merged commit f43a3b6 into master Oct 30, 2026
8 checks passed
@drevendev
drevendev deleted the beautifulrepo/trade-pages-browser-evidence-20261030 branch October 30, 2026 00:22
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.

1 participant