protractor-beautiful-reporter
protractor-beautiful-reporter copied to clipboard
How can we add new column "current time" in the HTML report
Adding a column is quite hard,, but if you don´t need the session id column it can be done with changing the html template after test run:
in index.html replace the line:
<th ng-if="!ctrl.displaySessionId" ng-show="ctrl.displaySessionId">Session ID</th></td>
with:
<td ng-if="!ctrl.displaySessionId" ng-show="ctrl.displaySessionId">{{ctrl.convertTimestamp(result.timestamp)}}</td>
You also want do adjust the header label on the top from "Session ID" to "Current Time"