Skip to content

test: re-baseline visual harness to v2.0.0#65

Merged
mmcky merged 2 commits into
mainfrom
test/rebaseline-visual-2.0.0
Jun 4, 2026
Merged

test: re-baseline visual harness to v2.0.0#65
mmcky merged 2 commits into
mainfrom
test/rebaseline-visual-2.0.0

Conversation

@mmcky
Copy link
Copy Markdown
Contributor

@mmcky mmcky commented Jun 4, 2026

Re-baseline the visual harness to v2.0.0

Follow-up to the 2.0.0 release prep (#64). Now that 2.0.0 is on main and its rendering is verified, regenerate the Playwright baselines so the harness guards the shipped look instead of v1.1.1.

What changed

  • Regenerated all 6 snapshots (intro / features / notebook × desktop + mobile) against a local v2.0.0 build (@myst-theme 1.3.0, Remix ~1.17.0).
  • Updated tests/visual/README.md to describe the ongoing "validate a change" workflow (build candidate → test:visual → diff → test:visual:update when intentional), now that 2.0.0 is the baseline rather than the one-time "validate the 0.14 → 1.x move" framing.

What the new baselines capture

The correct 2.0.0 rendering — centered content column, restored "On this page" outline, and the new @myst-theme 1.x notebook output-node AST (stream / execute_result / error traceback).

Verification

  • Baselines generated with test:visual:update, then confirmed stable with a plain test:visual run: 6/6 pass.
  • Built and captured on real Node 24 (24.16.0).

🤖 Generated with Claude Code

Regenerate the Playwright snapshot baselines against a local v2.0.0 build
(@myst-theme 1.3.0, Remix ~1.17.0), replacing the v1.1.1 baselines that
were captured to validate the upgrade. The harness now guards the shipped
2.0.0 rendering: centered content column, restored "On this page" outline,
and the new @myst-theme 1.x notebook output-node AST (stream /
execute_result / error). 6/6 snapshots stable on a verification run.

Also refresh tests/visual/README.md to describe the ongoing "validate a
change" workflow now that 2.0.0 is the baseline.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 4, 2026 08:43
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Re-baselines the Playwright visual-regression harness so that committed snapshots reflect the shipped v2.0.0 rendering (post @myst-theme 1.x upgrade), and updates the visual-test documentation to describe the ongoing “validate a change” workflow against those baselines.

Changes:

  • Regenerates the 6 Playwright snapshot baselines (intro/features/notebook × desktop/mobile) for the v2.0.0 look.
  • Updates tests/visual/README.md to reflect the new baseline and the standard diff/update workflow using test:visual / test:visual:update.

Reviewed changes

Copilot reviewed 1 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/visual/README.md Updates the visual-harness documentation to reflect v2.0.0 baselines and the current validation workflow.
tests/visual/snapshots/desktop-chrome/intro.png Updated desktop baseline snapshot for the intro surface.
tests/visual/snapshots/desktop-chrome/features.png Updated desktop baseline snapshot for the features surface.
tests/visual/snapshots/desktop-chrome/notebook.png Updated desktop baseline snapshot for the notebook surface.
tests/visual/snapshots/mobile-chrome/intro.png Updated mobile baseline snapshot for the intro surface.
tests/visual/snapshots/mobile-chrome/features.png Updated mobile baseline snapshot for the features surface.
tests/visual/snapshots/mobile-chrome/notebook.png Updated mobile baseline snapshot for the notebook surface.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/visual/README.md Outdated
…nned release

Addresses Copilot review on #65 — 'A deployed release' implied a versioned
artifact, but the example points at the build repo's unpinned main.zip.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mmcky mmcky merged commit 2cf3456 into main Jun 4, 2026
1 check passed
@mmcky mmcky deleted the test/rebaseline-visual-2.0.0 branch June 4, 2026 08:54
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