From 13dea6f72a9c4ced029f59e3be1e92e748168cc2 Mon Sep 17 00:00:00 2001
From: Bartek Wrona <wrona@syncad.com>
Date: Tue, 25 Mar 2025 15:50:37 +0100
Subject: [PATCH] Added timeout to webserver spawned by Playwright during
 execution of examples:react-vite example

---
 examples/ts/react-vite/playwright.config.ts | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/examples/ts/react-vite/playwright.config.ts b/examples/ts/react-vite/playwright.config.ts
index 171e1b4cd..3865334ee 100644
--- a/examples/ts/react-vite/playwright.config.ts
+++ b/examples/ts/react-vite/playwright.config.ts
@@ -10,6 +10,9 @@ export default defineConfig({
   ],
   // Run your local dev server before starting the tests
   webServer: {
-    command: 'npm run dev'
+    command: 'npm run dev',
+    "url": "http://localhost:5173",
+    "timeout": 120 * 1000,
+    "reuseExistingServer": false
   }
 });
-- 
GitLab