Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 856 Bytes

README.md

File metadata and controls

41 lines (32 loc) · 856 Bytes

Protractor Dockerfile

Usage

Start the selenium hub, the selenium browser nodes and the app server:

docker-compose up -d chrome firefox

Run the protractor tests:

docker-compose run --rm protractor

Stop and remove the started docker containers:

docker-compose stop && docker-compose rm -vf

Debug

Start the debug browser nodes along with the selenium hub and app server:

docker-compose up -d chromedebug firefoxdebug

Connect to the chrome debug node via VNC (password: secret):

open vnc://$DOCKER_HOST_IP:5900

Connect to the firefox debug node via VNC (password: secret):

open vnc://$DOCKER_HOST_IP:5901

Next run the protractor tests as shown above.

License

Released under the MIT license.

Author

Sebastian Tschan