You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use [`property: TestConfig.use`] to change this option for all projects.
395
+
396
+
## property: TestProject.workers
397
+
* since: v1.52
398
+
- type: ?<[int]|[string]>
399
+
400
+
The maximum number of concurrent worker processes to use for parallelizing tests from this project. Can also be set as percentage of logical CPU cores, e.g. `'50%'.`
401
+
402
+
This could be useful, for example, when all tests from a project share a single resource like a test account, and therefore cannot be executed in parallel. Limiting workers to one for such a project will prevent simultaneous use of the shared resource.
403
+
404
+
Note that the global [`property: TestConfig.workers`] limit applies to the total number of worker processes. However, Playwright will limit the number of workers used for this project by the value of [`property: TestProject.workers`].
405
+
406
+
By default, there is no limit per project. See [`property: TestConfig.workers`] for the default of the total worker limit.
0 commit comments