Rayrun
← Back to Discord Forum

Tests in headed mode - browsers stacked on top of each other, hard to follow

When viewing tests in headed mode, is there a way to run one test at a time? Right now, if I have 2 tests run there are 2 browsers that run at the same time which are stacked on top of each other. It is very confusing to watch to see what the test is doing. I tried fullyParallel: false, but it didn't change the behavior.

This thread is trying to answer question "How to run tests in headed mode one at a time?"

2 replies
commitquality

In your config set workers to 1 or via cli you can say npx playwright test --workers=1. That will stop the parallel execution

thanks!

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