Rayrun
← Back to Discord Forum

playwright on ci runs everything in Serial mode vs fully parallel

Currently on Ci it runs using one worker vs using multiple works - similar issue to https://github.com/microsoft/playwright/issues/11373#issuecomment-1441720565

This thread is trying to answer question "Why does Playwright run using one worker on CI instead of multiple workers?"

3 replies

Anyone encountered a similar issue ?

Do you use this in your test config?

// Opt out of parallel tests on CI. workers: process.env.CI ? 1 : undefined,

I've had this issue. I assumed it was down to the specs of the VM the tests run on in CI but I haven't looked into it or resolved it.

Related Discord Threads

TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

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].