Skip to content

Commit

Permalink
Merge pull request #23 from mmarkelov/All-browsers-in-parallel
Browse files Browse the repository at this point in the history
All browsers in parallel
  • Loading branch information
mmarkelov authored Feb 12, 2020
2 parents 8973dcc + 76745ad commit 6d3f23b
Show file tree
Hide file tree
Showing 7 changed files with 149 additions and 62 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,26 @@ Debugging tests can be hard sometimes and it is very useful to be able to pause
await jestPlaywright.debug()
```

## Unstable and experimental API

From version **0.0.7** you can run you tests for multiple browsers.

- You must have installed **playwright** package
- You must define browser to test with your `jest-playwright.config.js`:

```javascript
module.exports = {
browsers: ["chromium", "webkit"],
...
}
```

- You must run your tests with **jest-playwright**

```json
"test:parallel": "jest-playwright --parallel"
```

## Inspiration

Thanks to [Smooth Code](https://github.com/smooth-code) for great [jest-puppeteer](https://github.com/smooth-code/jest-puppeteer).
Expand Down
Loading

0 comments on commit 6d3f23b

Please sign in to comment.