Public | Automated Build

Last pushed: 3 years ago
Short Description
Protractor 2.x with jasmine-reports on a top of official node.js docker
Full Description



docker run -d -p --name selenium-hub selenium/hub:2.45.0
docker run -d --name selenium-ff --link selenium-hub:hub selenium/node-firefox:2.45.0
docker run -d --name selenium-chr --link selenium-hub:hub selenium/node-chrome:2.45.0


docker run -it --link selenium-hub:selenium-hub -v "$PWD":/usr/src/myapp -w /usr/src/myapp devdetonator/protractor:2.1.0 protractor --specs spec/my_spec.js

where $PWD is your project dir.

To make Protractor work properly with Selenium and really do JUnit-like reports, you should have protractor.conf.js like:

exports.config = {
  seleniumAddress: 'http://selenium-hub:4444/wd/hub',
  specs: [
  onPrepare: function() {
        new jasmine.JUnitXmlReporter('test-results', true, true)

Docker Pull Command
Source Repository