Skip to content

Commit

Permalink
Merge pull request #765 from nhsuk/add-concurrently-to-project
Browse files Browse the repository at this point in the history
added packages to allow concurrent processes for backstop
  • Loading branch information
chrimesdev authored Aug 17, 2021
2 parents e3ea0f5 + 3c794ae commit 76e801c
Show file tree
Hide file tree
Showing 3 changed files with 291 additions and 31 deletions.
6 changes: 3 additions & 3 deletions docs/contributing/automated-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ Docker is installed on the continuous integration service automatically but if y

#### Run tests

Before you run the BackstopJS tests, you must have the application running locally with `npm start`.

```
npm run backstop:test
```

Each time that a test is run locally a new set of bitmaps will be created in `tests/backstop/<timestamp>/`
This will start the application and run the tests concurrently.

Each time that a test is run locally a new set of bitmaps will be created in `tests/backstop/<timestamp>/`.

Once the test bitmaps are generated, a report comparing the most recent test bitmaps against the current reference bitmaps will display.

Expand Down
Loading

0 comments on commit 76e801c

Please sign in to comment.