Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/sentsin/layui
Browse files Browse the repository at this point in the history
merge
  • Loading branch information
sentsin committed Nov 27, 2017
2 parents ec2c430 + 903f0a6 commit 34ad6ac
Showing 1 changed file with 18 additions and 21 deletions.
39 changes: 18 additions & 21 deletions karma.conf.sauce.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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'
// }
};

// 不支持本地运行
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 34ad6ac

Please sign in to comment.