Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Commit 6d3f23b

Browse files
authored
Merge pull request #23 from mmarkelov/All-browsers-in-parallel
All browsers in parallel
2 parents 8973dcc + 76745ad commit 6d3f23b

File tree

7 files changed

+149
-62
lines changed

7 files changed

+149
-62
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,26 @@ Debugging tests can be hard sometimes and it is very useful to be able to pause
8989
await jestPlaywright.debug()
9090
```
9191

92+
## Unstable and experimental API
93+
94+
From version **0.0.7** you can run you tests for multiple browsers.
95+
96+
- You must have installed **playwright** package
97+
- You must define browser to test with your `jest-playwright.config.js`:
98+
99+
```javascript
100+
module.exports = {
101+
browsers: ["chromium", "webkit"],
102+
...
103+
}
104+
```
105+
106+
- You must run your tests with **jest-playwright**
107+
108+
```json
109+
"test:parallel": "jest-playwright --parallel"
110+
```
111+
92112
## Inspiration
93113

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

0 commit comments

Comments
 (0)