Playwright at Scale: Run 500 Tests in Minutes
Categories: Podcasts , Test Guild
Parallel test execution often masks performance issues as flakiness, requiring teams to use observability tools to distinguish application bugs from infrastructure limits. AI agents and proper test isolation strategies enable scalable, reliable end-to-end testing for rapid software delivery.
Test Guild
Test Guild - hosted by Joe Colantonio has main topic focus on Testing or Automating. Each episode has a different guest. Show notes have comprehensive links and usually a full transcript. Released as audio and video.
- https://testguild.com/
- https://testguild.com/podcasts/automation/
- https://www.youtube.com/playlist?list=PL9AgRtJkydU1jqvx46esyr56BXtm1QEds
- https://www.youtube.com/@JoeColantonio
Episode Details
- Show Notes: https://testtalks.libsyn.com/playwright-at-scale-run-500-tests-in-minutes
- Published: 2026-11-10T22:06:00Z
- Duration: 37:29
- Author: Unknown
Overview
The discussion explores why end-to-end test suites built with Playwright tend to lose reliability as they scale. Oliver, co-founder of Enform, explains that the core problem is rarely the testing tool itself but rather application-level issues like race conditions, infrastructure load, and test isolation gaps that surface only under parallel execution. He describes how his team at Mentimeter hit the same wall sequentially with Selenium, Cypress, and Playwright, and how losing trust in a suite creates a slippery slope where it becomes more of a blocker than a safety net.
A key insight is that running tests in parallel can silently turn into an unintentional performance test: when many tests hit a system simultaneously, timeouts that only occasionally exceed limits mimic flakiness, but the real signal is that the application is taking seven or eight seconds to load a page. Oliver argues this is actually a strength of end-to-end testing - a controlled, deterministic environment that exposes problems production’s noise would hide.
The conversation also covers how AI agents and open telemetry traces can accelerate failure triage, how Enform’s platform spins up a virtual machine per test and provides concurrency limiting, and how one customer scaled from 12 to two or 300 Playwright tests running in under two minutes per pull request.
What If
-
What if you ran your existing Playwright suite in parallel to expose hidden race conditions?
- Move: Spin up a preview environment and execute your current tests concurrently - Oliver described running “100 tests on 100 machines at the very same time” - then ask your AI agent to identify the most common failure mode.
- Why Now?: The source shows a test that passed locally failed 10% of the time under parallel load, and the agent pinpointed an async/await race in the invitation flow. “This is a really classic sort of it passed on my machine, but what’s it going to do when it hits production.”
- Expected Upside (proposed): You would identify the specific race condition before it affects real users, and the agent’s trace analysis would give you a concrete fix target rather than a vague “flaky test” label.
-
What if you asked your AI agent to audit your test isolation setup using Playwright fixtures and global setup?
- Move: Prompt your agent to review your Playwright project for fixtures, global setup, and dynamic test-data creation, then implement the missing pieces so each test gets isolated data.
- Why Now?: The source identifies this as the single most important step before scaling: “Ask your agents how you’re working with test isolation” and “setting up good practice end to end testing projects that use fixtures and set up projects and global set up in order to dynamically create test data that helps you to isolate tests from each other.”
- Expected Upside (proposed): You would have a foundation that lets you add tests without them “step on each other’s toes,” making it possible to go from 15 tests to 500 without the pain.
-
What if you instrumented your Playwright tests with open telemetry so backend spans appear alongside browser traces?
- Move: Add open telemetry spans to your application’s API and database layers, then pipe them into the same traces as your Playwright test runs so a single trace shows the full request path.
- Why Now?: The source explains that “in a lot of cases, it’s somewhere way further down the stack that would make it so much easier to debug if we could see it in the same place,” and open telemetry is the existing production standard for doing this.
- Expected Upside (proposed): When a test times out, you would immediately see whether the delay was a slow query, a backend API stall, or a browser rendering issue, cutting triage time from hours to minutes.
Takeaway
- Run your current Playwright suite 100 times in parallel against a preview environment and ask your AI agent to identify the most common failure; this exposes race conditions invisible in single runs.
- Prompt your agent to audit your Playwright project for fixtures, global setup, and per-test data creation so tests are isolated before you scale beyond 15.
- Add open telemetry spans to your backend and pipe them into Playwright traces so a single trace reveals whether a timeout is a browser issue or a slow API call.
- Quarantine tests failing above a threshold (e.g., 50%) so they run without blocking your CI pipeline, then revisit and deactivate the rule once fixed.
- Set per-endpoint concurrency limits in your test runner so a slow backend path is capped (e.g., no more than two simultaneous tests) while faster paths run at full parallelism.
For a PDF of longer Software Testing Podcast Episode Summaries with Briefing Notes and more detailed summary notes, visit EvilTester Patreon Podcast Summaries.