From 963cb414af707d600e84602fa97b8c0ae617ab50 Mon Sep 17 00:00:00 2001 From: Matt Gibson Date: Thu, 9 Oct 2025 17:04:32 -0700 Subject: [PATCH] Add env variable for slowmo --- playwright.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playwright.config.ts b/playwright.config.ts index 661ccdb2428..270152dc21f 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -33,6 +33,9 @@ export default defineConfig({ /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ trace: "on-first-retry", + launchOptions: { + slowMo: parseInt(process.env.PLAYWRIGHT_SLOW_MO || 0), + }, }, /* Configure projects for major browsers */