-
-
Notifications
You must be signed in to change notification settings - Fork 144
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
Not generating JSON reports after each run #851
Comments
Have you enabled it, as per docs? https://github.com/badeball/cypress-cucumber-preprocessor/blob/master/docs/json-report.md |
well, my
and I tried to change
to this but it didn't work
|
Run with |
it created |
i have a simillar issue, but i get no results from this command.
cypress.config.ts
|
The above-mentioned variable makes Cypress output more to stdout, It's this output I'm looking for. |
@badeball I think we need a different solution to the cucumber-json-formatter that is required. This is because this library should be platform independent - for example, I'm on a mac but I also need this json report to publish as part of an azure pipeline build. Could you possibly move away from this cucumber-json-formatter to something else? This is currently stopping my team from upgrading to cypress 10. |
You're not making any sense to me here. How is this not possible? |
I don't want platform-specific installation guides depending on where I'm coding from.
|
I understand that that's a preference, but not how it's stopping you. |
Well, it's stopping us because I don't want any additional steps in my sldc.
|
I'm only reading laziness and entitlement here, because all of the above appears trivial. You're already running platform-dependent software, such as node. I'll have you know despite this, that I am considering alternatives, but not because of anything you describe. |
haha ok, well I hope you change it - not sure how I could make more sense but oh well. Sure, node/nvm is platform dependent, but not anything else. Anyway, thanks and Happy Friday! |
Folks, for those of you having an issue due to the cucumber-json-formatter - I managed to use this cucumber preprocessor instead. This doesn't have any pre-requirements (setup is also more similar to what we had with cypress versions < 10 - not necessarily a good thing) |
thanks @clupascu-sudo, did it generate json file for you? cause it didn't work for me either. |
The other plugin did, yep! @jaxfellow |
https://socket.dev/npm/package/@deepakvishwakarma/cucumber-json-formatter this library automatically checks the platform and uses the relevant cucumber-json-formatter. No messing around with exes. Download the library, configure in package.json and away you go |
Closing due to lack of a reproducible example. |
I've been using the
cypress-cucumber-preprocessor v4.3.1
and my implementation was incypress/plugin/index.ts
file like:and my
package.json
file was likewhich was generating json files that I'm using later in
multiple-cucumber-html-reporter
to generate a nice report.After migrating to
Cypress 10
and using@badeball/cypress-cucumber-preprocessor v13.0.2
I have no json file generated anymore! I've followed the examples hereIt is mentioned in the example:
but I'm not getting any, am I missing anything?
Checklist
cypress-cucumber-preprocessor@4.3.1
(package name has changed and it is no longer the most recent version, see #689).The text was updated successfully, but these errors were encountered: