Dockerfile for Nightwatch.js.
Run the nightwatch tests:
docker-compose run --rm nightwatchA video of the test will be stored in test/videos.
Video recording is done with
nightwatch-video-recorder.
Connect to the chromedriver via VNC:
open vnc://user:secret@localhost:5900The VNC password can be changed via VNC_PASSWORD environment variable for the
chromedriver container.
Stop and remove the docker-compose container set:
docker-compose down -vIf you get a permission error for the videos/screenshots folders, make sure they are writable for the nightwatch process:
mkdir -p test/screenshots test/videos
chmod 777 test/screenshots test/videosReleased under the MIT license.