Skip to content
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

Gherkin steps are logged false in test details #71

Closed
mysticdevx opened this issue Nov 6, 2023 · 7 comments · Fixed by #154
Closed

Gherkin steps are logged false in test details #71

mysticdevx opened this issue Nov 6, 2023 · 7 comments · Fixed by #154
Labels
bug Something isn't working medium severity of issue

Comments

@mysticdevx
Copy link

Description:
In the Gherkin test report scenario details, some steps are logged as failed, although they are passing, and some vice versa. This is reproducible in my sample repo here, and also in the cucumber tests included in the plugin package.

Please see below 2 screenshots:

Screenshot 2023-11-06 at 12 05 23 Screenshot 2023-11-06 at 11 42 37

Cypress: 13.4.0
Node: 18.16.1
preprocessor: @badeball/cypress-cucumber-preprocessor@19.0.1,
adapter: @mmisty/cypress-allure-adapter@0.14.1

Thanks @mmisty in advance again.

@mmisty
Copy link
Owner

mmisty commented Nov 6, 2023

@mysticdevx
Thank you for report,

The root cause of this is a known issue - log command shows result of first attempt (in this case it was unsuccessful)
I'll take a look on how to fix that.

@mmisty mmisty added bug Something isn't working medium severity of issue labels Nov 6, 2023
@mysticdevx
Copy link
Author

Thanks @mmisty for the promt response. Just fyi, the SS i've shared from my repo, and the plugin packages report has no retries in these tests. And also, theres another same case in another scenario in the html report, its nether a retried, nor an outline scenario. But better we shall see afte the bug you have mentioned is resolved.

@mmisty
Copy link
Owner

mmisty commented Nov 6, 2023

Sorry for miscommunication- I meant retries of the command, but not test retries

@thomasKuntermannDiva-e
Copy link

I'm also interested in a fix of this

@mmisty
Copy link
Owner

mmisty commented Jun 30, 2024

should be fixed in v2.1.0

@mysticdevx
Copy link
Author

should be fixed in v2.1.0

@mmisty thanks, i confirm this has been resolved!

@thomasKuntermannDiva-e
Copy link

thanks a lot! works fine also with 2.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working medium severity of issue
Projects
None yet
3 participants