protractor-beautiful-reporter icon indicating copy to clipboard operation
protractor-beautiful-reporter copied to clipboard

How can we add new column "current time" in the HTML report

Open Poonam2212 opened this issue 3 years ago • 1 comments

Poonam2212 avatar Jul 27 '21 10:07 Poonam2212

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"

miller45 avatar Aug 24 '22 14:08 miller45