Skip to content
This repository was archived by the owner on Aug 28, 2020. It is now read-only.

reverscore/attic-docker-nightwatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nightwatch.js Dockerfile

Dockerfile for Nightwatch.js. Original work by https://github.com/allthings/nightwatch

Usage

Run the nightwatch tests:

docker-compose run --rm nightwatch

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

Connect to the chromedriver via VNC:

open vnc://user:secret@localhost: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

FAQ

Permission denied for videos/screenshots folders

If you get a permission error for the videos folder, make sure it is writable for the nightwatch process:

mkdir -p test/reports
chmod 777 test/reports

License

Released under the MIT license.

Original Author

Sebastian Tschan

About

Docker Image for Nightwatch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •