-
Notifications
You must be signed in to change notification settings - Fork 44
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
Allure prevents cypress-cucumber-preprocessor to produce proper JSON reports #57
Comments
This is a valid issue when allure : true in cypress.json, cypress-allure-plugin and cypress-cucumber-preprocessor are interfering with each other. cypress-allure-plugin is preventing the generation of cucumber.json for failed scenarios. All this has been mentioned above. However, The Question is where does the fix need to be implemented ? From the side of (1) cypress-allure-plugin (2) cypress-cucumber-preprocessor My inclination without doing any real technical troubleshooting is that the fix might require at least some changes from the side of (2) cypress-cucumber-preprocessor, to take into consideration integrating with cypress-allure-plugin and case where allure:true , that this specific case should not impact the standard flow in generation of cucumber.json results for passed, failed, passed and failed scenarios. |
@mysticdevx Thank you for providing example!
cypress-allure-plugin is listening "fail" event to finish all previous commands happening in allure reporter. So here are action items I have for myself:
|
@mysticdevx @markroche32
Maybe it makes sense to open issue for Cypress to check if it is possible to have multiple listeners on this event.
Anyway, please check if cypress-allure-plugin v2.3.7 works for you now. |
Hey @Shelex |
Hi, I am using allure in Cypress framework. I use allure for reporting and cypress-cucumber-preprocessor reporter to have json reports in order to import results to xRay. Whenever I activate allure (either in cypress.json file or through cli) the cypress report JSONs don't include the failed scenarios. but when I deactivate allure (allure=false), the cypress cucumber report behaves as expected. Can you suggest a workaround or solution to this issue?
Expected behaviour
Even if the allure is activates, cypress-cucumber-preprocessor should prepare proper results, including failed scenarios
Environment (please complete the following information):
In package json, I have:
and in cypress.json I have:
I also tried
allure: false
and run with--env allure=true
in cliHere is sample project:
https://github.com/mysticdevx/webPackExample
The text was updated successfully, but these errors were encountered: