feat: UI screenshot harness — automated visual acceptance for every PR#139
Merged
feat: UI screenshot harness — automated visual acceptance for every PR#139
Conversation
- Docker multi-stage build: compile Tauri app + runtime with Xvfb - tauri-driver + WebKitWebDriver + Selenium for DOM-based navigation - 13 business flows, 28 screenshots (light/dark/responsive/dialogs) - GitHub Actions workflow: auto-capture on PR, post screenshots inline - Uses peter-evans/find-comment pattern (same as metrics gate) - Screenshots pushed to orphan ref for inline embedding in PR comments - Mock OpenClaw data for realistic page rendering
Contributor
📊 Test Coverage Report
Coverage measured by |
Contributor
📏 Metrics Gate ReportStatus: ✅ All gates passed Commit Size ❌
Bundle Size ✅
Perf Metrics E2E ✅
Command Perf (local) ✅
Local command timings
Command Perf (remote SSH) ✅
Remote command timings (via Docker SSH)
Home Page Render Probes ✅
Code Readability (informational)
|
Contributor
📸 UI ScreenshotsCommit: Light Mode — Core Pages
Dark Mode
Responsive + Dialogs
|
Contributor
📦 PR Build Artifacts
|
Keith-CY
approved these changes
Mar 18, 2026
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.

























What
Automated UI screenshot harness that captures every page and interaction of the full Tauri app, running inside Docker with Xvfb + tauri-driver (WebDriver).
How it works
By.css('aside nav button'))CI Integration
Same pattern as
metrics.yml:develop/mainpeter-evans/find-comment+create-or-update-commentVerified
✅ Built and ran on
ns5027657(this server) — all 28 screenshots captured successfully with proper UI rendering (verified via image analysis).See baseline screenshots: #138
Files
harness/screenshot/Dockerfileharness/screenshot/capture.mjsharness/screenshot/entrypoint.shharness/screenshot/mock-data/.github/workflows/screenshot.yml