From d855b74095c616c061d67ae9bd57299ed84dbeae Mon Sep 17 00:00:00 2001 From: Martin Staffa Date: Wed, 5 Dec 2018 08:29:14 +0100 Subject: [PATCH] chore(Saucelabs): increase max session duration We have amassed so many e2e tests, that the default 30 minute Saucelabs session limit is often not enough, especially during the week, when the VMs are under heavy load. --- protractor-travis-conf.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/protractor-travis-conf.js b/protractor-travis-conf.js index a90fff724..6dada590a 100644 --- a/protractor-travis-conf.js +++ b/protractor-travis-conf.js @@ -79,6 +79,8 @@ function capabilitiesForSauceLabs(capabilities) { 'browserName': capabilities.browserName, 'platform': capabilities.platform, 'version': capabilities.version, - 'elementScrollBehavior': 1 + 'elementScrollBehavior': 1, + // Allow e2e test sessions to run for a maximum of 35 minutes, instead of the default 30 minutes. + 'maxDuration': 2100 }; }