Rayrun
← Back to Discord Forum

parallel Execution

harry_aujlaposted in #help-playwright
Open in Discord

Hi team, Is there a way to run all spec files in parallel, not the tests within the spec files, without using test.serial keyword?

This thread is trying to answer question "Is there a way to run all spec files in parallel, not the tests within the spec files, without using test.serial keyword?"

4 replies

Misread your question, sorry

refactoreric

If your configuration specifies fullyParallel: false or omits the fullyParallel setting altogether, then the (default) behaviour is for different spec files to run in parallel, but the tests within the spec files to run in sequence.

https://playwright.dev/docs/api/class-testproject#test-project-fully-parallel

yep, just configure your works and set fullparallel:false .

the workers will pick up the spec files but not tests in it

Great, thanks guys 😊

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 luc@ray.run.