Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jangko opened this issue May 24, 2021 · 1 comment
Open

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

jangko opened this issue May 24, 2021 · 1 comment

Comments

@jangko
Copy link

jangko commented May 24, 2021

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

@AlexGuironnetRTE
Copy link

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.

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

No branches or pull requests

2 participants