aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/README.md
blob: 3f1c735cd7fb0d5ac6d08d7a7fdcbddd1a939bd3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Docker Puppeteer Example

This as an example of using the Docker Puppeteer docker image to run Mocha tests against a linked Docker Compose web service, and capturing a screenshot into a local `./screenshots` directory.

## Running

```shell
# Clone this example
git clone https://github.com/buildkite/docker-puppeteer.git
cd docker-puppeteer/example

# Build and run the example tests
docker-compose -f docker-compose.integration-tests.yml run tests

# See the screen that was generated
ls screenshots/
```