-
Notifications
You must be signed in to change notification settings - Fork 40
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
App.js timestamp & duration showing Null #73
Comments
@harta11 I tried to reproduce the phenomenon with my currenty angular 2 and angular 2 environment. |
@miller45 I've the same issue when I run protractor through a custom script in package.json, but if I use the command prompt to run protractor, then the duration is populated in the resulting json file. I've added some logging into the reporter source, and it seems the started property of the result object is not getting populated, when I run protractor using npm run [customscriptname]
All that the custom script in package.json does is 'protractor [path to protractor config]'. Summary Running protractor from the command line |
@denizengin I also start protractor via npm but i do not use the "global" command because i work in different teams and configurations. By npm script looks like this... |
@miller45 Thanks for the reply. Pointing to node_modules/protractor in package.json, doesn't make a difference. Here are the versions: "protractor": "~5.1.2", npm -> 5.6.0 |
@denizengin most version kindof match mine.... the only exception is that i use node 8.11.1 LTS. Go to the source code (index.js) of protractor-beautiful-reporter and search for |
Cannot reproduce and no more feedback |
Hello,
I followed the instruction for setting up the protractor-beautiful-reporter.
When i finished running the tests and produced a reporter, the reporter timestamp and duration is showing as Null.
Below is the screenshot from the app.js file.
The text was updated successfully, but these errors were encountered: