I have a suite of 50 tests, taking between 30s and 10 minutes to run. When run with 12 workers, it's currently taking about 40 minutes clock time.
By the end of the run I am noticing there is only one worker still active, and when it completes a test it starts a new one, and one after that (even though 11 workers are idle)
Does that mean that tests are allocated to workers at the beginning, and not handed out to workers that are idle?
This thread is trying to answer question "Are tests allocated to workers at the beginning, and not handed out to idle workers?"
Seems like this should hand it out to free workers https://github.com/microsoft/playwright/blob/main/packages/playwright/src/runner/dispatcher.ts#L53-L78
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].