2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00

Attempting to fix SauceLabs timeouts

This commit is contained in:
Matt Zabriskie
2016-06-27 12:48:09 -06:00
parent 2b45762a9b
commit 181f4e78b9
2 changed files with 11 additions and 4 deletions
+7 -4
View File
@@ -53,9 +53,10 @@ module.exports = function(config) {
// Safari
if (runAll || process.env.SAUCE_SAFARI) {
// TODO: Fix the issue with disconnected tests
// customLaunchers.SL_Safari7 = createCustomLauncher('safari', 7);
// customLaunchers.SL_Safari8 = createCustomLauncher('safari', 8);
// TODO: Fix the issue with disconnected tests
// customLaunchers.SL_Safari9 = createCustomLauncher('safari', 9);
}
@@ -70,15 +71,17 @@ module.exports = function(config) {
if (runAll || process.env.SAUCE_IE) {
// TODO These need to be fixed
// customLaunchers.SL_IE8 = createCustomLauncher('internet explorer', 8, 'Windows 7');
customLaunchers.SL_IE9 = createCustomLauncher('internet explorer', 9, 'Windows 2008');
// TODO: Fix the issue with disconnected tests
// customLaunchers.SL_IE9 = createCustomLauncher('internet explorer', 9, 'Windows 2008');
customLaunchers.SL_IE10 = createCustomLauncher('internet explorer', 10, 'Windows 2012');
customLaunchers.SL_IE11 = createCustomLauncher('internet explorer', 11, 'Windows 8.1');
}
// Edge
if (runAll || process.env.SAUCE_EDGE) {
// TODO: Fix the issue with disconnected tests
// customLaunchers.SL_Edge = createCustomLauncher('microsoftedge', null, 'Windows 10');
customLaunchers.SL_Edge = createCustomLauncher('microsoftedge', null, 'Windows 10');
}
// IOS
+4
View File
@@ -7,6 +7,10 @@ URLSearchParams = require('url-search-params');
// Import axios
axios = require('../../index');
// Jasmine config
jasmine.DEFAULT_TIMEOUT_INTERVAL = 20000;
jasmine.getEnv().defaultTimeoutInterval = 20000;
// Is this an old version of IE that lacks standard objects like DataView, ArrayBuffer, FormData, etc.
isOldIE = /MSIE (8|9)\.0/.test(navigator.userAgent);