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

timestamp missing in currentTest #2508

Closed
irondev84 opened this issue Oct 7, 2020 · 1 comment · Fixed by #2670
Closed

timestamp missing in currentTest #2508

irondev84 opened this issue Oct 7, 2020 · 1 comment · Fixed by #2670

Comments

@irondev84
Copy link

Describe

on version 0.9x in currentTest it was timestamp value,
but now since 1.3.x version timestamp is missing
is it a bug or feature ?

Example

Here is example of

console.log(this.api.currentTest)` using Nightwatch 0.9x:

{ name: 'My first test', module: 'ecosia/ecosiaTest', results: { steps: [], passed: 0, failed: 0, errors: 1, skipped: 0, tests: 0, testcases: { 'My first test': [Object] }, timestamp: 'Wed, 07 Oct 2020 13:09:52 GMT', time: 3 }, group: 'ecosia' }
Here is example of

console.log(this.api.currentTest)` using Nightwatch 1.3x:

{ name: 'My first test, module: 'ecosia/ecosiaTest', results: { time: 0, assertions: [], passed: 0, errors: 0, failed: 0, retries: undefined, skipped: 0, tests: 0, steps: [], stackTrace: '', testcases: { 'My first test': [Object] }, } }

as you can see there is no timestamp in new version nightwatch.
How can I get timestamp of actually running test case ? Is it any new way for getting it ?

@stale
Copy link

stale bot commented Jan 10, 2021

This issue has been automatically marked as stale because it has not had any recent activity.
If possible, please retry using the latest Nightwatch version and update the issue with any relevant details. If no further activity occurs, it will be closed. Thank you for your contribution.

@stale stale bot added the stale label Jan 10, 2021
@beatfactor beatfactor added this to Low priority in Nightwatch 1.7 via automation Apr 16, 2021
@beatfactor beatfactor linked a pull request Apr 24, 2021 that will close this issue
8 tasks
Nightwatch 1.7 automation moved this from Low priority to Closed Apr 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

2 participants