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

Nightwatch HTML Report overall time displaying different overall times within the same report #4183

Open
reallymello opened this issue Apr 10, 2024 · 1 comment

Comments

@reallymello
Copy link
Contributor

reallymello commented Apr 10, 2024

Description of the bug/issue

When I view my HTML test report output I expect the total time it took to complete the run to appear in overall performance, but the Overall Performance runtime appears to differ from the suite runtime on a single suite run.

image

Steps to reproduce

  1. Create a test suite (.ts file) with more than one test case inside
  2. Execute the test using npx nightwatch name-of-test-suite.ts
  3. Open the Nightwatch HTML report from the test output directory
  4. Observe the time reported in the upper left section near Overall Performance and then the time shown in the upper right of the Spec: view next to where it has the Environment - Browser - OS - Local - [ time here ]

Sample test

No response

Command to run

npx nightwatch name-of-test-suite.ts

Verbose Output

No response

Nightwatch Configuration

No response

Nightwatch.js Version

3.5

Node Version

20

Browser

Chrome

Operating System

Windows 11

Additional Information

Note 9 min 5 sec minutes vs 17 min 43 sec
image

And here is another screenshot/report from Ayush on Discord (9 sec vs 4 sec)
image

@Ayush-Vish
Copy link
Contributor

I will work on this issue after my majors.

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

2 participants