cd /path/to/project
npm install handlebars
Copy html-reporter.js
and html-reporter.hbs
to your project basedir.
nightwatch test.js --reporter html-reporter.js
The html report will be generated under your nightwatch reports folder.
Edit html-report.hbs
to customize the look and feel of the report.
See http://handlebarsjs.com for Handlebars syntax.
Every time i want to run it i get
''Error: An error occurred while trying to save the report file:
Error: The custom reporter file name "html-reporter.js" cannot be resolved.
And then it goes to my path \AppData\Roaming\npm\node_modules\nightwatch\lib\reporter\global-reporter.js:122:17
and then a bunch of Asyncs
Any idea how i can handle this?