Skip to content

Add dark/light theme variants to screenshot pipeline - #31

Merged
vreshch merged 2 commits into
masterfrom
claude/add-comment-screenshots-3oRML
Mar 10, 2026
Merged

Add dark/light theme variants to screenshot pipeline#31
vreshch merged 2 commits into
masterfrom
claude/add-comment-screenshots-3oRML

Conversation

@vreshch

@vreshch vreshch commented Mar 10, 2026

Copy link
Copy Markdown
Owner

Capture 4 screenshot combinations per page (dark desktop, dark mobile,
light desktop, light mobile) instead of just 2 (desktop, mobile).

  • Add setTheme() helper in e2e/visual.ts to switch theme via localStorage
    and document class
  • Update screenshots.spec.ts to iterate over both themes for each page
  • Update PR comment page status table to show 4 columns for all variants

claude added 2 commits March 10, 2026 07:11
Capture 4 screenshot combinations per page (dark desktop, dark mobile,
light desktop, light mobile) instead of just 2 (desktop, mobile).

- Add setTheme() helper in e2e/visual.ts to switch theme via localStorage
  and document class
- Update screenshots.spec.ts to iterate over both themes for each page
- Update PR comment page status table to show 4 columns for all variants

https://claude.ai/code/session_01EFFjyzUiPaF1gBYnNVutHN
Remove old 2-variant baselines (desktop/mobile) and add new 4-variant
baselines (dark-desktop, dark-mobile, light-desktop, light-mobile)
for all 5 pages.

https://claude.ai/code/session_01EFFjyzUiPaF1gBYnNVutHN
@github-actions

Copy link
Copy Markdown

🔍 PR Validation ✅

Commit: 0288389b3cabc56eb24366b7734e3137bc7903cc | Branch: claude/add-comment-screenshots-3oRML

📋 Checks

Step Status
📦 Dependencies
🔍 Linting
🏗️ Build
🐳 Docker
🎭 E2E Tests

✅ Visual Regression

All 30 screenshots match baselines — no visual changes detected.

📸 Page Status

Page 🌙 Dark Desktop 🌙 Dark Mobile ☀️ Light Desktop ☀️ Light Mobile
home
screenshots
documentation
downloads
support

🚀 Ready to merge!


🔗 Workflow run · ⬇️ Download all screenshots
2026-03-10T08:01:25.524Z

@vreshch
vreshch merged commit 7195eb5 into master Mar 10, 2026
1 check passed
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