test(web): align screenshot fixtures with pencil design and harden visual diff - #368
Conversation
…sual diff against dilution - Enrich screenshot mock data and handlers to faithfully reproduce Pencil design baselines (mc-survival dynamic variants, exact Minecraft log output, 16-entry files list, empty online roster, and 3-node cluster storage stats). - Update Slice 1 and Slice 2a screenshot test specs to populate design inputs and target mc-survival variant cookies. - Add 4x4 regional block grid diff ratio checks to compare-screenshots.mjs to protect against dark-canvas dilution hiding localized UI regressions. Co-Authored-By: Gemini 3.8 Flash <noreply@google.com> Signed-off-by: valgulnecron <39313199+ValgulNecron@users.noreply.github.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (5)
WalkthroughThe PR rebuilds screenshot fixtures and mock handlers for the updated login and server UI. It updates end-to-end scenarios to use cookie-selected server variants and adds regional screenshot diff thresholds and reporting. ChangesScreenshot validation
Estimated code review effort: 4 (Complex) | ~45 minutes Change: Other ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-Authored-By: Gemini 3.8 Flash <noreply@google.com> Signed-off-by: valgulnecron <39313199+ValgulNecron@users.noreply.github.com>
…tData Co-Authored-By: Gemini 3.8 Flash <noreply@google.com> Signed-off-by: valgulnecron <39313199+ValgulNecron@users.noreply.github.com>
CI Report - 9f5fd33run 34415640848 - attempt 1 0 failed - 6 passed - 11 skipped - 9m16s elapsed Coverage
Changed
Slowest jobs
e2e buckets run
|
…and calibrate SeizD threshold Co-Authored-By: Gemini 3.8 Flash <noreply@google.com> Signed-off-by: valgulnecron <39313199+ValgulNecron@users.noreply.github.com>
Summary
F9pUrxtable rows (mc-survival,mc-test,user-server-test).e2e_server_variantcookie) formc-survival(idle,asleep,never-sleeps,pvc-failed,failed).kPmooand suppressed log stream for failed variantFtdkI.— connected —matchingXn5ns.Burtr.alicematchingdPP50.admin/adminforADavatar initials.N1GkBandjmoi3withvalguland 12-char masked password matching Pencil design baselines.ljdA5forKeycloakandGoogle.mc-survivalwith variant cookies and cleared cookies between runs.--block-thresholdCLI flag, default 16%) incompare-screenshots.mjsto eliminate canvas dilution where dark empty areas masked component-level mismatches.Summary by CodeRabbit