Skip to content

Report shows incorrect test duration time #403

@GabRog

Description

@GabRog

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions