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

Display browser name in report #180

Open
mistic100 opened this issue Jan 31, 2024 · 2 comments
Open

Display browser name in report #180

mistic100 opened this issue Jan 31, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@mistic100
Copy link
Contributor

mistic100 commented Jan 31, 2024

Is your feature request related to a problem? Please describe.

Hello, do you think it would make sense to display the browser on which the tests have ran somewhere in the report ?

Describe the solution you'd like

Add a badge of the browser in the header after the title, it could use shields.io service





Describe alternatives you've considered

Append the name of the browser to reportPageTitle but I have no easy way to know which browser was requested when creating the configuration.

Additional context

@mistic100 mistic100 added the enhancement New feature or request label Jan 31, 2024
@mistic100
Copy link
Contributor Author

Turns out Mochawesome has zero options to customize the HTML output, you can't even add your own stylesheet !

Only solution I see is to append a custom script to modify the header after the initial render, kinda hacky...

@LironEr
Copy link
Owner

LironEr commented Feb 4, 2024

Yeah we cant customize the current HTML report without doing something hacky.

I started to work on a fork of mochawesome, because over the years I saw some more enhancements and the repo didnt have any activity for a long time.

Will update as soon as I have something to show

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants