Draft
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
13c4606 to
a82468b
Compare
Self-hosted full-page E2E visual testing alongside existing Chromatic/Storybook component tests. Uses Docker run-server pattern for consistent Linux rendering locally and in CI, with zero cost on public repos. - Add @playwright/test with Docker browser server config - Add homepage visual smoke test with baseline screenshot - Add visual-tests job to PR and push CI workflows - Add pw-test, pw-update, pw-report Makefile targets Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
a82468b to
91cab8d
Compare
The Playwright Docker image lacks unzip, which setup-bun requires. Since the image already has Node/npm, use npm directly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The Playwright Docker image lacks unzip, which setup-bun needs. Install unzip first, then use bun consistently with the other CI jobs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Supports two trigger mechanisms: - PR comment: type "/update-snapshots" on a PR - Manual dispatch: run from Actions tab on any branch Regenerates Playwright baselines in the same Docker container as CI, commits updated PNGs back to the branch. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #867
Summary
run-serverpattern — browser runs in a Docker container for pixel-consistent rendering, test code runs on the host via WebSocket (port 3200)@visualpw-test(compare),pw-update(regenerate baselines),pw-report(HTML viewer)visual-testsjob added to both PR and push workflowsTest plan
make pw-testlocally — should pass against committed baselinemake pw-update— should regenerate baseline screenshotmake pw-report— should open HTML report in browservisual-testsjob passes on this PR🤖 Generated with Claude Code