Skip to content

Commit e4e3de8

Browse files
committed
Increase the browser inactivity timeout
Increase the inactivity timeout when running CI tests in case as recommended at https://docs.travis-ci.com/user/gui-and-headless-browsers/#Karma-and-Firefox-inactivity-timeouts That guidance applies to Travis but also to Sauce Labs.
1 parent 1484b06 commit e4e3de8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

karma-tests/karma.conf.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,12 @@ module.exports = function(config) {
9191
sauceLabs: sauceLabsConfig,
9292

9393
// use an extended timeout for capturing Sauce Labs
94-
// browsers in case the service is busy
94+
// browsers and waiting for activity
95+
// in case the service is busy
9596
captureTimeout: 3 * 60000,
9697

98+
browserNoActivityTimeout: 30 * 1000,
99+
97100
customLaunchers: customLaunchers,
98101

99102
browsers: Object.keys(customLaunchers),

0 commit comments

Comments
 (0)