mochawesome-report-generator icon indicating copy to clipboard operation
mochawesome-report-generator copied to clipboard

allow to put link in the generated html e.g. for github commit

Open jangko opened this issue 3 years ago • 1 comments

I generate my test report in github action CI and then publish them to github pages. Is there any way to insert commit link to the report page? We need to know which commit the report page refers to. Currently I'm abusing the page title to display the commit, but it appears as text, not a link

jangko avatar May 24 '21 10:05 jangko

I have the same kind of requirement, the best workaround I have found so far is to use the addContext function (see https://github.com/adamgruber/mochawesome#adding-test-context). Unfortunately, the link gets added to each test rather than at the top of the test report.

AlexGuironnetRTE avatar Apr 12 '23 19:04 AlexGuironnetRTE