Skip to content

testxio/chrome

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

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.

About

A Docker image of Chrome for headless testing with testx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published