0
votes

I have developed a test suite with playwright (TypeScript) that has 4 projects (each project is to run the suite against our webshop in different countries: SE, DK, Nl, NO).

Running the suite with lets say 4 workers doesn't limit 1 worker for each project so I can have two test executed on DK at the same time that might interfere with each other since I only have 1 user that can run these tests.

I would like to be able to run my 4 countries at the same time but then they would run the tests in sequence as if there were only 1 worker.

Do any of you have a setup in mind that could accomplish this?

Note: My setup is a custom made config that sends in the country specific url, username and password to each project. The tests are all re-used on each country.