Skip to content

feat: regenerate README screenshots from the functional tests - #190

Merged
ardetrick merged 2 commits into
mainfrom
feat/refresh-readme-screenshots
Jul 26, 2026
Merged

feat: regenerate README screenshots from the functional tests#190
ardetrick merged 2 commits into
mainfrom
feat/refresh-readme-screenshots

Conversation

@ardetrick

@ardetrick ardetrick commented Jul 15, 2026

Copy link
Copy Markdown
Owner

Step 2 of the visual walkthrough plan. Adds refreshReadmeScreenshots: a documentation task that reruns the functional suite and copies each mapped test's screenshots into docs/images (delete-then-copy per flow, with a clear failure if a test rename breaks the mapping). Also commits the refreshed images for both README flows — the committed set dated from December 2022 and predates the remember-me checkbox and the consent Deny button, so the README was showing a UI that no longer exists. Filenames are unchanged, so the README's existing image references stay valid.

Second commit shrinks the pinned viewport from 1280x720 to 640x400 and regenerates: GitHub scales README images down to its ~880px column but never up, so the old size rendered at ~69% while carrying mostly whitespace; at 640x400 the captures render 1:1. This is the plain-copy version; the compare-before-copy threshold and --force override come next.

Adds a refreshReadmeScreenshots task that reruns the functional suite and copies each mapped test's screenshots into docs/images, and commits the refreshed images. The previous set dated from December 2022 and predates the remember-me checkbox and the consent Deny button.
GitHub scales README images down to its column width but never up, so the 1280x720 captures rendered at ~69% while carrying mostly whitespace. At 640x400 they render 1:1 and the form fills a meaningful share of the frame.
@ardetrick
ardetrick merged commit dad7ab3 into main Jul 26, 2026
1 check passed
@ardetrick
ardetrick deleted the feat/refresh-readme-screenshots branch July 26, 2026 00:36
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.

1 participant