Playwright in Pictures: Fully Parallel Mode — Midjourney…
    Neura MarketNeura Market/Midjourney
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityMidjourneyMidjourney
    DeepSeekDeepSeekCoPilotCoPilotStable DiffusionStable Diffusion
    View All Directories
    OverviewPromptsBlogVideosGuidesCoursesCommunityStylesTrending
    MidjourneyBlogPlaywright in Pictures: Fully Parallel Mode
    Back to Blog
    Playwright in Pictures: Fully Parallel Mode
    playwright

    Playwright in Pictures: Fully Parallel Mode

    Vitaliy Potapov April 15, 2026
    0 views

    Playwright in Pictures is a series of articles where I use playwright-timeline-reporter to visualize...

    <small>Playwright in Pictures is a series of articles where I use playwright-timeline-reporter to visualize different Playwright concepts with simple timeline charts. Here's the first article in the series.</small>


    Playwright’s fullyParallel mode is often treated as a simple performance switch. In practice, it changes how the runner schedules work, which leads to different execution shapes for the same test suite.

    In this post I’ll show a visual comparison of different modes and highlight when fully parallel is slower.

    Example Setup

    I use a minimal suite:

    • spec1.test.ts → 1 test
    • spec2.test.ts → 5 tests
    • workers = 2

    This setup is enough to expose how scheduling works.

    Non-Fully Parallel

    By default, Playwright assigns entire files to workers. Once a worker picks a file, it runs all tests in that file in order.

    Running the example suite:

    npx playwright test --workers 2
    

    produces the following timeline:

    Non fully parallel

    <center><small>Non-fully parallel mode ([live report ↗](https://vitalets.github.io/playwright-demos/fully-parallel/timeline-report/non-fully-parallel.html))</small></center><br>

    In this setup, Worker 1 runs the single test from spec1, while Worker 2 executes all 5 tests from spec2.

    Tests inside a file cannot move to another worker. Even if one worker is idle, it cannot pick up remaining tests from other running files.

    In practice, the total run time is defined by the longest file, not by the total amount of work.

    Fully Parallel

    With --fully-parallel enabled, Playwright schedules individual tests instead of files. File boundaries stop mattering. Workers take the next available test.

    Running the example suite with --fully-parallel:

    npx playwright test --workers 2 --fully-parallel
    

    The timeline:

    Fully parallel timeline

    <center><small>Fully parallel mode ([live report ↗](https://vitalets.github.io/playwright-demos/fully-parallel/timeline-report/fully-parallel.html))</small></center><br>

    With the same setup, the 5 tests from spec2 are split across both workers, keeping the timeline balanced.

    The total run time drops from 5.6s to 3.5s.

    This shifts the execution model. It now follows individual tests instead of the longest file.

    Is Fully Parallel Always Faster? No.

    Fully parallel mode may be slower if tests rely on heavy worker hooks or worker fixtures.

    To illustrate this, I added a heavy beforeAll hook to spec2:

    test.beforeAll(async () => {
      await expensiveSetup()
    });
    

    Running the tests without fully parallel:

    Non fully parallel with hook

    <center><small>Non-fully parallel mode with heavy BeforeAll ([live report ↗](https://vitalets.github.io/playwright-demos/fully-parallel/timeline-report/non-fully-parallel-with-hook.html))</small></center><br>

    The beforeAll setup cost (yellow bar) is paid once in Worker 2 and reused across all tests in that file.

    Now run the same suite with --fully-parallel:

    Fully parallel with hook

    <center><small>Fully parallel mode with heavy BeforeAll ([live report ↗](https://vitalets.github.io/playwright-demos/fully-parallel/timeline-report/fully-parallel-with-hook.html))</small></center><br>

    Here, beforeAll runs twice, once per worker. As the number of workers grows, the setup is repeated more times.

    Total run time increases from 15s to 20s after enabling fully parallel mode.

    When setup dominates test time, --fully-parallel makes the run slower.

    Key Takeaways

    • By default, Playwright runs tests per file: files are split across workers, tests inside a file run sequentially.
    • With fully parallel mode, tests are split across workers and run independently.
    • Fully parallel mode can slow tests down. Check your test distribution and setup before enabling it.

    Thanks for reading ❤️

    👉 Next in the series: Playwright in Pictures: Why Workers Restart?

    Tags

    playwrighttestingwebdevautomation

    Comments

    More Blog

    View all
    Five Gemma-4 models, one accelerator: what porting E2B 31B to AWS Inferentia2 taught megemma

    Five Gemma-4 models, one accelerator: what porting E2B 31B to AWS Inferentia2 taught me

    I ported the whole Gemma-4 family — E2B, E4B, 12B, 31B, and the 26B-A4B MoE — to run on...

    X
    xbill
    Hey DEV, I'm Tobore. Let's actually connect.community

    Hey DEV, I'm Tobore. Let's actually connect.

    Hey DEV, I'm Tobore. Let's actually connect. I've been on here for a while now, mostly writing and...

    L
    Laurina Ayarah
    I burned through thousands of AI tokens. Then a friend did it for freeai

    I burned through thousands of AI tokens. Then a friend did it for free

    (yep, kinda clickbait, just for the funsies 😊) At the beginning of the year, I relaunched my...

    P
    Paulo Henrique
    Claude might be saturating your machineai

    Claude might be saturating your machine

    My laptop was sitting idle with the fan at full tilt. Nothing was running that I knew of. The culprit...

    S
    Sidhant Panda
    Automated GitHub Code Reviews Using Google Geminigithubactions

    Automated GitHub Code Reviews Using Google Gemini

    I Built a Thing! TL;DR — Google Gemini-based Pull Request reviews and Issue Triaging for...

    D
    Darren "Dazbo" Lester
    What is an "agentic harness," actually?ai

    What is an "agentic harness," actually?

    I've been hearing the word "harness" thrown around a lot lately. I assumed it just meant "the IDE" or...

    T
    Tilde A. Thurium

    Stay up to date

    Get the latest Midjourney prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Midjourney and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions for your business.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Midjourney resource

    • Create Animated Stories Using GP-4.0-mini, Midjourney, Kling, and Creatomate APIn8n · $24.99 · Related topic
    • **Visualize Your n8n Workflows with Mermaid.js!**n8n · $9.99 · Related topic
    • Automate Midjourney Image Creation and Upscaling via Telegramn8n · $14.99 · Related topic
    • Visualize AI Token Usage with Real-Time Analytics in n8nn8n · $14.99 · Related topic
    Browse all workflows