merge
This commit is contained in:
sentsin 2017-11-27 23:45:19 +08:00
commit 34ad6acf9c

View File

@ -13,16 +13,16 @@ var customLaunchers = {
},
// 安卓浏览器
sl_android_4_4: {
base: 'SauceLabs',
browserName: 'android',
version: '4.4'
},
sl_android_5: {
base: 'SauceLabs',
browserName: 'android',
version: '5'
},
// sl_android_4_4: {
// base: 'SauceLabs',
// browserName: 'android',
// version: '4.4'
// },
// sl_android_5: {
// base: 'SauceLabs',
// browserName: 'android',
// version: '5'
// },
sl_android_6: {
base: 'SauceLabs',
browserName: 'android',
@ -43,34 +43,29 @@ var customLaunchers = {
sl_ie_9: {
base: 'SauceLabs',
browserName: 'internet explorer',
platform: 'Windows 7',
version: '9'
},
sl_ie_10: {
base: 'SauceLabs',
browserName: 'internet explorer',
platform: 'Windows 8',
version: '10'
},
sl_ie_11: {
base: 'SauceLabs',
browserName: 'internet explorer',
platform: 'Windows 8.1',
version: '11'
},
sl_edga: {
base: 'SauceLabs',
browserName: 'microsoftedge',
platform: 'Windows 10',
version: '15'
// platform: 'Windows 10'
},
sl_firefox: {
base: 'SauceLabs',
browserName: 'firefox',
platform: 'Windows 7'
}
// sl_firefox: {
// base: 'SauceLabs',
// browserName: 'firefox'
// }
};
// 不支持本地运行
@ -105,7 +100,9 @@ module.exports = function (config) {
customLaunchers: customLaunchers,
browsers: Object.keys(customLaunchers),
captureTimeout: 1000 * 60 * 5,
browserNoActivityTimeout: 1000 * 60 * 5
browserNoActivityTimeout: 1000 * 60 * 5,
browserDisconnectTolerance: 3,
browserDisconnectTimeout: 10000
});
config.set(options);