Protractor framework for end to end angularjs testing
1.6K
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
Content type
Image
Digest
sha256:35d239400…
Size
261 MB
Last updated
almost 11 years ago
docker pull michelesr/protractor