adamgruber / mochawesome

A Gorgeous HTML/CSS Reporter for Mocha.js
https://gitter.im/mochawesome/general
MIT License
1.06k stars 160 forks source link

addContext() does nothing on generated HTML report #297

Open BBE78 opened 4 years ago

BBE78 commented 4 years ago

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):

Additional context Used through Cypress.io runner

AlexGuironnetRTE commented 1 year ago

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 commented 1 year ago

Oddly enough, https://github.com/adamgruber/mochawesome/issues/385 seems to work...