File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ function buildBrowserInstances() {
109109 waitforTimeout : 30000 , // 30 seconds wait timeout - matches test expectations
110110 waitforInterval : 1000 , // Poll every 1 second - faster feedback
111111 keepAlive : true ,
112- keepAliveInterval : 30000 ,
112+ keepAliveInterval : 10000 , // Send keepalive every 10 seconds to prevent WebSocket disconnections
113113 } ] ;
114114 }
115115}
@@ -149,16 +149,16 @@ export default defineConfig({
149149 isolate : false ,
150150 fileParallelism : true ,
151151 // Reduce concurrency for BrowserStack to minimize tunnel load and WebSocket connection issues
152- maxConcurrency : 3 ,
152+ maxConcurrency : useLocalBrowser ? 5 : 1 ,
153153 onConsoleLog : ( ) => true ,
154154 browser : {
155155 enabled : true ,
156156 provider : 'webdriverio' ,
157157 headless : false ,
158158 instances : buildBrowserInstances ( ) ,
159- connectTimeout : 300000 ,
159+ connectTimeout : 300000 ,
160160 } ,
161- testTimeout : 60000 ,
161+ testTimeout : 60000 ,
162162 hookTimeout : 30000 ,
163163 include : [
164164 'lib/**/*.spec.ts' ,
You can’t perform that action at this time.
0 commit comments