From eded376f14d9830a82ecfdd1f65dcdaaa6c8e334 Mon Sep 17 00:00:00 2001 From: Ali Waseem Date: Wed, 12 Nov 2025 14:43:23 -0500 Subject: [PATCH] updated to only run web server locally --- e2e/studio/playwright.config.ts | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/e2e/studio/playwright.config.ts b/e2e/studio/playwright.config.ts index b7874111462..dfb75c6ef29 100644 --- a/e2e/studio/playwright.config.ts +++ b/e2e/studio/playwright.config.ts @@ -9,6 +9,14 @@ dotenv.config({ const IS_CI = !!process.env.CI +const webServerConfig = IS_CI + ? undefined + : { + command: 'pnpm -w run e2e:setup', + port: 8082, + timeout: 5 * 60 * 1000, + } + export default defineConfig({ timeout: 90 * 1000, testDir: './features', @@ -53,10 +61,5 @@ export default defineConfig({ ['html', { open: 'never' }], ['json', { outputFile: 'test-results/test-results.json' }], ], - webServer: { - command: 'pnpm -w run e2e:setup', - port: 8082, - timeout: 5 * 60 * 1000, // Wait up to five minutes for server to boot - reuseExistingServer: !IS_CI, - }, + webServer: webServerConfig, })