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

addContext() does nothing on generated HTML report #297

Open
BBE78 opened this issue Nov 25, 2019 · 2 comments
Open

addContext() does nothing on generated HTML report #297

BBE78 opened this issue Nov 25, 2019 · 2 comments

Comments

@BBE78
Copy link

BBE78 commented Nov 25, 2019

Describe the bug
The addContext() feature does nothing on generated HTML reports.

Code Reproduce
Follow example provided on https://github.com/adamgruber/mochawesome#example

Expected behavior
I expect to have an "Additional Test Context" section displayed on the generated HTML report

Screenshots
Capture

Environment (please complete the following information):

  • Windows 10
  • mochawesome version : 4.1.0
  • mocha version : 6.2.2
  • cypress version : 3.6.1 Electron 73 (headless)
  • Node version : v12.13.0

Additional context
Used through Cypress.io runner

@AlexGuironnetRTE
Copy link

I'm running into the exact same problem, maybe I'm missing a step? I copy-pasted the example for addContext and I'm still not getting it in the report.
I'm using it with Cypress tests as well, maybe it's an issue with Cypress?

@AlexGuironnetRTE
Copy link

Oddly enough, #385 seems to work...

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