Skip to content

Commit 6f8159e

Browse files
committed
up
1 parent 677625f commit 6f8159e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

vitest.browser.config.mts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function buildBrowserStackCapabilities() {
7777
networkLogs: false,
7878
consoleLogs: 'errors' as const,
7979
seleniumLogs: false,
80-
idleTimeout: 300, // 5 minutes idle timeout - session closes if browser is idle for 5 minutes
80+
idleTimeout: 900, // 15 minutes idle timeout - prevents premature session closure during long test runs
8181
},
8282
};
8383
}
@@ -103,6 +103,8 @@ function buildBrowserInstances() {
103103
connectionRetryCount: 3, // Retry 3 times on connection failure
104104
waitforTimeout: 30000, // 30 seconds wait timeout - matches test expectations
105105
waitforInterval: 1000, // Poll every 1 second - faster feedback
106+
keepAlive: true,
107+
keepAliveInterval: 30000,
106108
}];
107109
}
108110
}

0 commit comments

Comments
 (0)