Public | Automated Build

Last pushed: 3 years ago
Short Description
Protractor framework for end to end angularjs testing
Full Description

Protractor Docker

Protractor image for docker.


Note: in order to follow this guide is required that your application is served inside a container.

Start selenium-hub first:

docker run -d --name hub selenium/hub

Then attach your browsers nodes:

docker run -d --name firefox --link hub:hub --link webserver:web node-firefox
docker run -d --name chrome --link hub:hub --link webserver:web node-chrome

where webserver is the container for your webserver

Then you need to set the right urls in conf.js and spec.js, using hub as hostname for the selenium server and web for the webserver.

Then you can start the protactor container:

docker run --rm -v /abs/path/to/your/test/:/code/:ro --link hub:hub michelesr/protractor
Docker Pull Command
Source Repository