Cucumber: Allure doesn't resolve Gherkin keywords as steps
przemdabr opened this issue · comments
Describe the bug
Allure Reports were not resolving Gherkin keywords as steps.
Reports are generated but instead of Gherkin keywords as a root there are some strange steps with "then function() {}"
Expected behavior
Gherkin Keywords should group Cypress steps
Environment (please complete the following information):
- Cypress version: 12.5.0
- OS: Win 11
** Developer Tools Console Output **
Additional context
I checked many combinations of Cypress ^12 with cypress-cucumber-preprocessor and cypress-allure-plugin, but I'm always getting the same results without grouped steps.
I can also reproduce the same issue. I think it appeared after cypress-cucumber-preprocessor v15.1.0 that added "Log steps and commands using log groups" functionality: https://github.com/badeball/cypress-cucumber-preprocessor/releases/tag/v15.1.0
And the problem is not reproducible with cypress-cucumber-preprocessor v15.0.0
I also faced this problem. Rollback cypress-cucumber-preprocessor version to 15.0.0 fix this issue for me. Is as per Closed Issue, they won't fix this on their side.
@Shelex Is it possible to make a fix on allure plugin side?
I guess it is possible, but will require some leisure time which I do not have at the moment in enough capacity.
@Shelex any update about this ticket
@varshanharshank I have invested some time into that, but no "releasable" outcome yet.
@przemdabr @samixchoumi @MadSandwich @jzaratei @Krivega @AKlavins @varshanharshank
Version v2.39.0 is released where I can see gherkin steps handled properly for my example report
Please let me know if this is still an issue for you.
@Shelex everything is good for me, thanks for your help!
Hello @Shelex, it seem to works fine for us too (and with cucumber preprocessor uptodate too 👍)
As no negative feedback regarding the fix is received, closing the issue.