mlison/protractor-jasmine2-screenshot-reporter

Feature Request: userJavascript (same format as userCss)

Closed this issue · 1 comments

Could you add in a userJavascript setting to the HtmlScreenshotReporter? To allow more complex formatting using existing libraries.

Would also allow workaround for DOM manipulation of report too.

So:

var reporter = new HtmlScreenshotReporter({
  dest: 'outputs\\details',
  filename: 'details.html',
  reportTitle: 'Detailed Report',
  showQuickLinks: true,
  userCss: '../css/detailedreporter.css',
  userJavascript: '../css/detailedreporter.js'
});

Would result in:

<link type="text/css" rel="stylesheet" href="../css/detailedreporter.css">
<script src="../css/detailedreporter.js"></script> 

closed by #114