Automation Testing Podcast Automation Episode 611

Playwright at Scale: Run 500 Tests in Minutes with Oliver Stenbom

Oliver Stenbom

with Oliver Stenbom

Co-founder

November 10, 2026 Hosted by Joe Colantonio
Playwright at Scale: Run 500 Tests in Minutes with Oliver Stenbom
0:000:00

About this episode

Is your Playwright suite slowing you down instead of speeding you up? In this episode, Oliver Stenbom, cofounder of Endform, shares what really happens when teams try to scale Playwright from a handful of tests to hundreds, and why AI alone won’t fix unreliable tests.

Try Endform free with 2,000 included minutes now: https://testgld.link/endform

You’ll discover why most flaky tests point to real problems in your application, how parallel test runs can expose performance limits you didn’t know you had, and why deterministic tests written as code are still a reviewable artifact worth owning in the age of AI agents.

Oliver also demos how an AI agent can explore a feature, then turn that session into a durable Playwright test using fixtures. He runs that test 100 times in parallel to surface a real race condition, then uses MCP and OpenTelemetry traces to let an agent diagnose the root cause.

Plus, hear how Lovable scaled from 12 to roughly 300 Playwright tests running in under two minutes on every pull request, how test quarantining keeps CI pipelines moving, and the single most important step to take this week: get serious about test isolation.

Whether you’re a QA engineer, automation engineer, or engineering leader, this episode will help you build a Playwright suite your team can actually trust.

Try Endform free with 2,000 included minutes using the link below.

https://testgld.link/endform

Playwright at Scale: Test Isolation, Parallel Runs, and Flaky Tests

Scaling Playwright requires more than writing additional tests. Teams need isolated test data, repeatable execution, and a way to distinguish test problems from application failures. Running more tests in parallel can shorten feedback cycles, but it can also expose race conditions and backend limits that smaller suites never reveal.

In this episode, Joe Colantonio talks with Oliver Stenbom, co-founder of Endform, about building a Playwright suite your team can trust as it grows. Oliver demonstrates how AI agents, deterministic tests, and failure analysis can work together without treating AI as a cure for unreliable software.

This episode is sponsored by Endform.

Why Playwright Suites Become Unreliable as They Grow

A small suite can appear reliable until tests begin running simultaneously. Shared users, overlapping test data, and limited application capacity introduce conditions that individual test runs may not expose.

Oliver describes how teams can lose confidence when failures become difficult to explain. Adding more generated tests does not solve that problem. The foundation must support reliable execution before a larger suite can deliver useful feedback.

Is It a Flaky Test or an Application Problem?

An intermittent timeout does not automatically mean the test is wrong. Oliver explains that parallel execution can push an application toward its limits. A page that usually loads within a timeout may occasionally exceed it, making a system performance problem look like an unreliable test.

The useful question becomes broader than “How do I make this test pass?” Teams also need to ask why the application behaves differently under concurrent use. Raising a timeout may hide the symptom without explaining the cause.

Parallel Execution Can Expose Backend Limits

More parallel workers do not guarantee proportionally faster feedback. Oliver describes large suites creating unexpected pressure on shared application services and databases.

This makes concurrency a capacity decision, not just a test runner setting. Teams need to understand what their test environment can support and investigate whether failures come from test interference, application behavior, or infrastructure limits.

Where AI Agents Help With Playwright Testing

Oliver demonstrates an agent exploring a feature, followed by durable Playwright tests that reuse fixtures and helpers. The distinction matters: an exploratory browser session can help discover behavior, while test code gives the team an artifact it can review, maintain, and run repeatedly.

AI can help create that code, but it does not remove the need to inspect assertions, setup, or application behavior. Deterministic execution also does not guarantee a passing result when the application contains a race condition.

What the 100 Parallel Runs Reveal

During the demonstration, Oliver runs a newly created test 100 times in parallel. Some runs fail. An agent uses run data and traces to investigate a race condition involving a slow email path.

The lesson is not that parallel execution eliminates flaky failures. Repeated execution can make an intermittent problem easier to reproduce, while traces help explain what happened rather than leaving the team with only a failed assertion.

Quarantine Keeps CI Moving, but Investigation Still Matters

Test quarantining allows a problematic test to continue running without blocking the entire continuous integration pipeline. Oliver discusses how teams use this to manage noisy failures as their suites grow.

Quarantine changes how a failure affects delivery. It does not repair the test or application defect. Teams still need to investigate the cause and decide when the test should block the pipeline again.

The Practical Starting Point: Test Isolation

Oliver’s recommendation for teams moving beyond a small Playwright suite is to examine test isolation. If concurrent tests rely on the same account or modify the same data, they can interfere with one another.

He points to fixtures, setup projects, and global setup as tools for creating test data and establishing a stronger foundation.

A practical checklist based on the discussion:

  • Identify tests that share users or mutable data.
  • Review how fixtures and setup prepare each test’s state.
  • Investigate intermittent timeouts before simply increasing limits.
  • Use traces and run history to separate symptoms from causes.
  • Reassess which business flows deserve coverage as the suite grows.

Oliver also reports that Lovable grew from about 12 Playwright tests to roughly 200–300, running in under two minutes on every pull request. This is a customer example shared by Oliver, not a guaranteed result for every suite.

Frequently Asked Questions

What should teams improve first when scaling Playwright?
Oliver recommends test isolation, particularly how tests create and share users and data during concurrent execution.

Can AI eliminate flaky Playwright tests?
No. AI can help generate tests and investigate failures, but application race conditions, shared state, and infrastructure constraints still require attention.

Why do tests fail only when run in parallel?
Concurrent runs can expose shared data conflicts or place more load on the application and database than individual runs.

Does quarantining a test fix it?
No. Quarantine prevents a known noisy failure from blocking CI while the underlying problem is investigated.

Try Endform free with 2,000 included minutes through the Endform episode offer.