adamgruber / mochawesome-report-generator

Standalone mochawesome report generator. Just add test data.
MIT License
231 stars 90 forks source link

Recognize "cy.step" or provide a way in Cypress to report steps within its #224

Open lhidalgomqa opened 2 months ago

lhidalgomqa commented 2 months ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

When i write tests in Cypress, can use the cy.step plugin to add steps in the tests. Is a good practice but, in mochaawesome report, this functionality not recognize the step and doesn't report correctly the test. Cypress cy.step plugin: https://github.com/filiphric/cypress-plugin-steps

Describe the solution you'd like

We need mochaawesome to recognize steps, sections, logs with steps, to be able to attach the tests in a more user-friendly way.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Provide in mochaawesome some way to define the steps (other than its within the describes) and for the steps to be displayed correctly in the HTML reports.