badeball / cypress-cucumber-preprocessor

Run cucumber/gherkin-syntaxed specs with Cypress
MIT License
1.31k stars 144 forks source link

Json & HTML report are not generated #1178

Closed sadhishsk closed 3 months ago

sadhishsk commented 3 months ago

Current behavior

Upon execution, JSON & HTML report are not generated. Followed the same process as described in the documentation.

Desired behavior

Json & HTML report should be generated when executed

Test code to reproduce

Sample Replicable repo: https://github.com/sadhishsk/Cypress-cucumber-bdd/tree/main

Versions

Checklist

badeball commented 3 months ago

https://github.com/badeball/cypress-cucumber-preprocessor/blob/master/docs/faq.md#json-reports-arent-generated-in-open--interactive-mode

sadhishsk commented 3 months ago

@badeball I tried it in run mode but still JSON and HTML aren't generated. Please check my above sample repo and let me know if I did anything wrong!

badeball commented 3 months ago

omitAfterRunHandler: true

...

afterSpecHandler(config, spec, results);

.. I expect you to see the error here.