A Docker image of Chrome for headless testing with testx
1.9K
To be used with testx.
Make sure you have all required dependencies locally. With testx you'll need at least Protractor and possibly CoffeeScript (for testx 2.x).
The entry point of the image is npm test, so this:
docker run -it --rm -v $(pwd):/work testx/chrome
will execute npm test in the container.
You can parameterize the execution just like you would an npm run. For example:
docker run -it --rm -v $(pwd):/work testx/chrome -- --baseUrl=http://localhost:3000
will execute tests against http://localhost:3000, assuming npm test runs Protractor.
Content type
Image
Digest
Size
248.8 MB
Last updated
over 6 years ago
docker pull testx/chrome