Skip to content

Messages don't log correct execution duration for steps with status: "failed" #963

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

Closed
3 tasks done
golinskiSt opened this issue Mar 10, 2023 · 1 comment
Closed
3 tasks done

Comments

@golinskiSt
Copy link

Current behavior

Using messages system as a source of data for reports. Messages don't correctly log how much time scenarion is being executed if first step fails. In messages this time is saves as 0.
image

Desired behavior

Messages correctly log time of execution for steps ans scenarios with status "FAILED"

Test code to reproduce

https://stackblitz.com/edit/angular-orraiy?file=cypress.config.ts

Versions

  • Cypress version: ^12.3.0"
  • Preprocessor version: ^15.1.2
  • Node version: v16.17.1

Checklist

@badeball badeball added the bug label May 24, 2023
badeball added a commit that referenced this issue May 25, 2023
@badeball
Copy link
Owner

This has been fixed with v17.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants