protractor-beautiful-reporter
protractor-beautiful-reporter copied to clipboard
Feature: Create a screenshot OR single html file of the compiled AngularJS view
Feature
Create a screenshot OR single html file of the compiled AngularJS view
Why
Jenkins HTMLReport plugin cannot display an AngularJS project, but it can display a simple HTML file.
Do you know that you can add an additional reporter alongside the htmlreporter? You could add a Junit reporter and then import the result in jenkins with the Junit plugin https://wiki.jenkins.io/display/JENKINS/JUnit+Plugin. Usage of multiple reporters is describe here https://wiki.jenkins.io/display/JENKINS/JUnit+Plugin
Making a screenshot (or better pdf) should be possible with opening the final report with phantomjs and make a pdf.
I think a combination of these two things would be great when going back through your Jenkins builds trying to figure out where a bug was introduced.
@miller45 is the PDF generation something we could add to this project? Where's a good starting point?
@miller45 I'll give the junit approach a go and let you know how it goes!
@RonanC If you don´t need screenshots it has the advantage that you can full integration into jenkinks
@RonanDConnolly another user meantioned in #161 that you can make pdfs with chrome just via commandline options. I created an example for that in the wiki. Please look at Print-report-to-pdf if you wish.
Thepdf is black and white though. I still have to find out how to print background colors with chrome.