Sign inSign up

testx/chrome

By testx

Updated over 6 years ago

A Docker image of Chrome for headless testing with testx

Image
0

1.9K

testx/chrome repository overview

A Docker image of Chrome for headless testing

To be used with testx.

Dependencies

Make sure you have all required dependencies locally. With testx you'll need at least Protractor and possibly CoffeeScript (for testx 2.x).

Usage

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.

Tag summary

Content type

Image

Digest

Size

248.8 MB

Last updated

over 6 years ago

docker pull testx/chrome