Nightwatch html report

1,798 views
Skip to first unread message

asha

unread,
Dec 15, 2015, 12:47:38 PM12/15/15
to NightwatchJs
if someone had already used nightwatch html reporter utility to generate html report, please share the samples

We had gone through the link https://www.npmjs.org/package/nightwatch-html-reporter, but didnot work

santosh

unread,
Jan 18, 2016, 2:35:38 PM1/18/16
to NightwatchJs
When you run your scripts via nightwatch, it generate reports ending with .xml files kept under reports folder .  after this step,
run command as 
nightwatch-html-reporter -d <loc of reports dir> 

nightwatch-html-reporter works directly only if you have had installed the package globally. 

hope this helps you.

Julia Carminati

unread,
Apr 14, 2016, 5:51:43 PM4/14/16
to NightwatchJs
I see the html reporter pop up when I execute CLI... is there a way to integrate that command in a teamcity build? Right now the xml artifacts are being stored, but this html format would be great.

Gourav Kumar Sonare

unread,
Apr 25, 2018, 7:15:24 AM4/25/18
to NightwatchJs
https://bl.ocks.org/denji/204690bf21ef65ac7778

You can refer the above example. I used it, it gave me the desired HTML report.
Reply all
Reply to author
Forward
0 new messages