Nightwatch.js Dockerfile with screen recording support and selenium setup example without Java requirement
Shell JavaScript HTML
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 2 commits ahead, 6 commits behind blueimp:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
test
.dockerignore
.gitignore
Dockerfile
README.md
docker-compose.yml
entrypoint.sh
wait-for.sh

README.md

Nightwatch.js Dockerfile

Dockerfile for Nightwatch.js.

Usage

Run the nightwatch tests:

docker-compose run --rm nightwatch

A video of the test will be stored in test/videos.
Video recording is done with nightwatch-video-recorder.

Connect to the chromedriver via VNC:

VNC_HOST="$(echo "${DOCKER_HOST:-localhost}" | sed 's#.*/##;s#:.*##')"
open vnc://user:secret@"$VNC_HOST":5900

The 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 -v

License

Released under the MIT license.

Author

Sebastian Tschan