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.
Line #90 in the html-reporter.hbs prints out the 'message' and this message contains color codes. However, rather than converting the color code to an actual color, the output is simply displaying the color code like so ...
Verify HOME_BUTTON is visible �[0;90m(1244ms)�[0m
Is there a fix for this?