protractor-jasmine2-screenshot-reporter icon indicating copy to clipboard operation
protractor-jasmine2-screenshot-reporter copied to clipboard

Add option to include entire-run's start, end, and execution time

Open jrm06c opened this issue 9 years ago • 2 comments
trafficstars

It would be nice if there was an option for the report to include the following:

  1. Start time of the entire run
  2. End time of the entire run
  3. Execution time of the entire run

jrm06c avatar Oct 19 '16 13:10 jrm06c

+1. for the moment Im adding a var with date to html report tittle. not looks good but at less let me know the date of the report

var today = new Date(); var timeStamp = today.getMonth() + 1 + '-' + today.getDate() + '-' + today.getFullYear() + '-' + today.getHours() + 'h-' + today.getMinutes() + 'm';

var reporter = new HtmlScreenshotReporter({ dest: 'htmlReport', filename: 'report.html', reportTitle: "Tittle and date- "+timeStamp });

luis-sanchez-jd avatar Nov 25 '16 03:11 luis-sanchez-jd

+1 and even specs details

TrishaChetani avatar Sep 25 '17 10:09 TrishaChetani