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

Add browser name and viewport to report name #220

Open
leminhai2007 opened this issue May 1, 2024 · 1 comment
Open

Add browser name and viewport to report name #220

leminhai2007 opened this issue May 1, 2024 · 1 comment

Comments

@leminhai2007
Copy link

Hi, currently we can put the datetime and test reslt in to report file name throught keywords: [datetime], [status].

Can you help to add more keyword so we can add more information about test run into report file name. For example:

  • [browser] for the browser name, it is the value of cypress when we run with -b option
  • [viewport] current viewport of the browser, for example 1024x789

Thanks

@adamgruber
Copy link
Owner

Hi. Thanks for your request. I'm not sure it makes sense to add the options you are asking about since they are specific to Cypress. This reporter is built for mocha which Cypress uses under the hood.

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