Sign inSign up

michelesr/protractor

By michelesr

Updated about 11 years ago

Protractor framework for end to end angularjs testing

Image
0

1.6K

michelesr/protractor repository overview

Protractor Docker

Protractor image for docker.

Usage

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

Tag summary

Content type

Image

Digest

sha256:35d239400

Size

261 MB

Last updated

almost 11 years ago

docker pull michelesr/protractor