Repository navigation
feat(report): click a trend point to open that run's report - #250
Merged
Merged
Conversation
New opt-in flakiness.keepReports (default 0): after each run, a copy of the HTML report is saved in the history directory next to its metrics JSON as selenium-boot-report-<timestamp>.html, and the oldest copies beyond the limit are deleted. Trend-chart points whose report was kept open it in a new tab and show "Click to open this run" in the tooltip. The link is relative from the report to the history directory (a file: URI when they are on different roots); kept copies link their siblings by file name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 #165. This is the remaining idea from the issue; the flaky trend line (#185) and hiding the empty flaky chart (#243) already landed.
What
flakiness.keepReports: N(default0, so nothing changes unless it's set).selenium-boot-report-<timestamp>.html. Copies beyondNare deleted, oldest first.historyDircan point outsidetarget/. When the two are on different roots, the link is afile:URI. A kept copy sits in the history directory, so its own links are plain file names.reporting/dashboard-trends.md.Why opt-in
Reports embed their screenshots as Base64, so keeping every one by default could grow the history directory quickly.
Verification
mvn clean verify: green.HtmlReportGeneratorTest: 37/37, including 4 new tests:target/metrics-historyand for../.selenium-boot-history../hist/selenium-boot-report-20261110-100000.html(200)Not covered
keepReportsset inselenium-boot.yml. The YAML binding is the same bean setter ashistoryRuns, andExecutionMetrics.lastHistoryName()is set during export.🤖 Generated with Claude Code