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

Report shows incorrect test duration time #403

Open
GabRog opened this issue Jun 28, 2024 · 0 comments
Open

Report shows incorrect test duration time #403

GabRog opened this issue Jun 28, 2024 · 0 comments

Comments

@GabRog
Copy link

GabRog commented Jun 28, 2024

Description
Cypress tests were run and then mochawesome report was generated.
Cypress logged the time of test in console - it lasted 50.037 s
However, on html report the test was listed with time: 50.37 s.

The test suite consisted of two tests - another one lasted: 10.498 s.
Total time of spec was: 1:00:535m, so 60.535 s.

The correct time is 50.037 s, according to Cypress console output and the sum of test duration in spec.
50.037 + 10.489 = 60.535
So it seems that 0 was omitted in 50.37s

Screenshots
Screenshot 2024-06-27 at 9 50 01 PM

Environment

  • Platform: macOS Sonoma 14.5
  • mochawesome/mocha version: mochawesome built into Cypress 7.5.0
  • Node version: 20.14.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant