Start the selenium hub, the selenium browser nodes and the app server:
docker-compose up -d chrome firefox
Run the nightwatch tests:
docker-compose run --rm nightwatch -e default,firefox
Stop and remove the started docker containers:
docker-compose stop && docker-compose rm -vf
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 nightwatch tests as shown above.
Released under the MIT license.