Bootstrap HTML reporter for Protractor and jasmine2
npm install protractor-bootstrap-reporterjavascript
let phantomjs = require('phantomjs-prebuilt');
exports.config = {
capabilities: {
'browserName': 'phantomjs',
'phantomjs.binary.path': phantomjs.path,
},
framework: 'jasmine2',
directConnect: false,
specs: ['spec/*/.e2e.js'],
onPrepare: function() {
const ProtractorBootstrapReporter = require('protractor-bootstrap-reporter');
jasmine.getEnv().addReporter(new ProtractorBootstrapReporter({
path: 'assets/report'
}));
browser.driver.manage().window().setSize(960, 600);
}
};
``