How to run tests parallelly in Playwright using JEST runner?

How to run tests parallelly in Playwright using JEST runner?

Hello Junior.milton,

The --runInBand option allows you to run tests concurrently. The following code must be added to your jest.config.js file to activate this option:

module.exports = {
  // ...
  testRunner: "jest-circus/runner",
  maxConcurrency: 5, // set the maximum number of parallel tests
};