-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
Fails to generate cucumber-json files for all the test cases. Missed jsons !! #459
Comments
Hello, I have the same issue when running features that contain Scenario Outlines with multiple examples. If an example fails in the scenario outline, only 1 .json is generated per scenario outline, for the example that failed. Versions:
|
Hello. Versions:
|
Issue still occurs in Cypress version 6.1.0 I've noticed that at least 1 .json per feature file is generated, but not for all scenarios or examples regardless of pass/fail I suspect the .json is being overwritten but I can't figure out why or how to debug. |
I've noticed that feature files that include a dot are not named correctly (2.1 becomes 2) which causes 2.2 for example to overwrite the 2.cucumber.json |
…mocha runner fail event it seems that cypress fail event could have only one listener and in case user has own or other plugins use it cucumber json will be missing results for failed tests as this event is not emitted re #459, re#454, re#417, re#348
Due to personal reasons, the previous maintainers of this package are stepping down and handing the reigns over to me, a long-time contributor to the project and a user of it myself. This is a responsibility I'm very excited about. Furthermore, I'd like to thank @lgandecki ++ for all the work that they've done so far. Read more about the transfer of ownership here. The repository has however moved and all outstanding issues are being closed. This is not a reflection of the perceived importance of your reported issue. However, if after upgrading to the new version, you still find there to be an issue, feel free to open up another ticket or comment below. Please make sure to read CONTRIBUTING.md before doing so. |
Hello, |
Current behavior
The cypress-cucumber-preprocessor plugin fails to generate the json files for all the test cases under cucumber-json folder within cypress!!
Our project makes use of BDD structure wherein multiple feature files has been created for the test scenarios and whilst executing a bulk regression run it skips a few json files within the folder cucumber-json!!
Jsons generated : 113
Totals features picked up: 123
Feature file example: tags has been used at a feature level which picks up all the 123 tests but generates only jsons for 113 and 10 are skipped. The same has been observed over multiple runs wherein it misses some of the json files.
Desired behavior
The cucumber-json folder should contain all the json files for all the features executed.
Versions
The text was updated successfully, but these errors were encountered: