Skip to content

Add support for local history via historyBaseUrl parameter - #958

Merged
epszaw merged 2 commits into
mainfrom
history-href
Sep 11, 2026
Merged

epszaw merged 2 commits into
mainfrom
history-href

Conversation

@andrcuns

@andrcuns andrcuns commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Context

This PR adds support for properly functioning local history with awesome reporter via the following changes:

  • Remove dynamic history link building in awesome report and instead build final url during report generation
  • Separate how history url is built for local and service histories due to difference in hosting logic (report with local history has no predetermined hosting strategy, we only assume that the final report path will match folder structure of output, service has predetermined hosting structure and always hosts at path "$pluginId/" path). History links for local history are built only when base url is set. The history url is left blank otherwise as before.
  • Add additional config parameter historyUrlBase which is only used when historyPath is present and local history is used. The base path allows to define the base of the report it will be published at.
  • Move recent bug fix of handling missing trailing slashes from client to report generation

Checklist

@github-actions

github-actions Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure 3 Report (plugin-allure2) 1h 11m Passed tests 11604   Skipped tests 23   Unknown tests 12 9 0 34 View
Allure 3 Report 1h 11m Passed tests 11604   Skipped tests 23   Unknown tests 12 9 0 34 View
Allure 3 Report (plugin-classic) 1h 11m Passed tests 11604   Skipped tests 23   Unknown tests 12 9 0 34 View
My Dashboard 1h 11m Passed tests 11604   Skipped tests 23   Unknown tests 12 9 0 34 View
Allure Report 0s 0 0 0

@andrcuns
andrcuns force-pushed the history-href branch 2 times, most recently from d23c2d5 to c8a5f6f Compare September 10, 2026 18:12
@andrcuns
andrcuns marked this pull request as ready for review September 11, 2026 06:53
Comment thread packages/cli/src/commands/history.ts Outdated
@epszaw
epszaw merged commit fc71740 into main Sep 11, 2026
13 checks passed
@epszaw
epszaw deleted the history-href branch September 11, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants