Rayrun
← Back to Discord Forum

How to run spec files one by one and tests within each spec file one by one?

I have multiple *.spec.js under tests folders, and each spec.js contains multiple tests. I would like the playwright run spec.js one by one, and multiple tests in each spec.js will also run one by one. I have set the config fullyParallel: false in the playwright.config.js, and test.describe.configure({ mode: 'serial' }) in each spec.js. But when I ran, it was Running 24 tests using 4 workers at same time.

This thread is trying to answer question "How can I run spec.js files one by one and the tests within each spec.js file one by one?"

0 replies

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