-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
willBeRetried: false for all scenarios regardless of retries count #849
Comments
It's easy to fix by running this within
With that said it doesn't help currently with html output (it still has no screenshots when retries > 0). |
Feel free to open up a PR on this. I think you can avoid mutating the internal properties though and rather just calculate |
In my testing those internal properties of cypress were unavailable in the afterEach hook. I'm guessing they clear this information sometime before that. |
This has been fixed with v16.0.0. |
Current behavior
cucumber messages always have
willBeRetried: false
for test cases despite them being retried.I think as a side effect (or direct effect?) the html report generated has no screenshots attached. They're attached when retries == 0, but have no screenshots otherwise.
Desired behavior
Messages have
willBeRetried: true
if test case will be retried andfalse
otherwise.Test code to reproduce
No real code - just have a test that is failing and set retries number in cypress to be greater than zero. Observe resulting messages - they all have aforementioned property set to false.
Versions
Checklist
[email protected]
(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: