Repository navigation
feat(report): previous/next navigation in the screenshot lightbox - #241
Merged
Merged
Conversation
Closes #219. Arrow buttons and Left/Right keys move through the screenshots of the same test (row thumbnail + step thumbnails), disabled at the ends, with an N / M counter; hidden for single-screenshot tests. Escape unchanged. openLightbox now takes the clicked <img> instead of its src. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Merged
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.
Closes #219.
N / Mposition counter; controls hidden when a test has one screenshotopenLightboxnow receives the clicked<img>(two call sites in HtmlReportGenerator updated)Verification:
mvn test871 run, 0 failures. Drove the real lightbox markup/CSS/JS in Chrome (Playwright): counter, arrows, end-disable, Escape, single-screenshot test all behave. Not yet checked in a full generated report (dark theme / matrix run).🤖 Generated with Claude Code