2015-06-02 10:29:09 -04:00
|
|
|
var customLaunchers = {
|
|
|
|
'DartiumWithWebPlatform': {
|
|
|
|
base: 'Dartium',
|
|
|
|
flags: ['--enable-experimental-web-platform-features'] },
|
|
|
|
'ChromeNoSandbox': {
|
|
|
|
base: 'Chrome',
|
|
|
|
flags: ['--no-sandbox'] },
|
|
|
|
'SL_CHROME': {
|
|
|
|
base: 'SauceLabs',
|
|
|
|
browserName: 'chrome',
|
2015-09-25 11:07:04 -04:00
|
|
|
version: '45'
|
2015-06-02 10:29:09 -04:00
|
|
|
},
|
|
|
|
'SL_CHROMEBETA': {
|
|
|
|
base: 'SauceLabs',
|
|
|
|
browserName: 'chrome',
|
|
|
|
version: 'beta'
|
|
|
|
},
|
|
|
|
'SL_CHROMEDEV': {
|
|
|
|
base: 'SauceLabs',
|
|
|
|
browserName: 'chrome',
|
|
|
|
version: 'dev'
|
|
|
|
},
|
|
|
|
'SL_FIREFOX': {
|
|
|
|
base: 'SauceLabs',
|
|
|
|
browserName: 'firefox',
|
2015-09-25 11:07:04 -04:00
|
|
|
version: '40'
|
2015-06-02 10:29:09 -04:00
|
|
|
},
|
|
|
|
'SL_FIREFOXBETA': {
|
|
|
|
base: 'SauceLabs',
|
|
|
|
browserName: 'firefox',
|
|
|
|
version: 'beta'
|
|
|
|
},
|
|
|
|
'SL_FIREFOXDEV': {
|
|
|
|
base: 'SauceLabs',
|
|
|
|
browserName: 'firefox',
|
|
|
|
version: 'dev'
|
|
|
|
},
|
|
|
|
'SL_SAFARI7': {
|
|
|
|
base: 'SauceLabs',
|
|
|
|
browserName: 'safari',
|
|
|
|
platform: 'OS X 10.9',
|
|
|
|
version: '7'
|
|
|
|
},
|
|
|
|
'SL_SAFARI8': {
|
|
|
|
base: 'SauceLabs',
|
|
|
|
browserName: 'safari',
|
|
|
|
platform: 'OS X 10.10',
|
|
|
|
version: '8'
|
|
|
|
},
|
2015-09-29 08:22:52 -04:00
|
|
|
'SL_SAFARI8.1': {
|
|
|
|
base: 'SauceLabs',
|
|
|
|
browserName: 'safari',
|
|
|
|
platform: 'OS X 10.11',
|
|
|
|
version: '8.1'
|
|
|
|
},
|
2015-06-02 10:29:09 -04:00
|
|
|
'SL_IOS7': {
|
|
|
|
base: 'SauceLabs',
|
|
|
|
browserName: 'iphone',
|
|
|
|
platform: 'OS X 10.10',
|
|
|
|
version: '7.1'
|
|
|
|
},
|
|
|
|
'SL_IOS8': {
|
|
|
|
base: 'SauceLabs',
|
|
|
|
browserName: 'iphone',
|
|
|
|
platform: 'OS X 10.10',
|
2015-08-24 05:21:16 -04:00
|
|
|
version: '8.4'
|
2015-06-02 10:29:09 -04:00
|
|
|
},
|
2015-09-25 11:07:04 -04:00
|
|
|
'SL_IOS9': {
|
|
|
|
base: 'SauceLabs',
|
|
|
|
browserName: 'iphone',
|
|
|
|
platform: 'OS X 10.10',
|
|
|
|
version: '9.0'
|
|
|
|
},
|
2015-06-02 10:29:09 -04:00
|
|
|
'SL_IE9': {
|
|
|
|
base: 'SauceLabs',
|
|
|
|
browserName: 'internet explorer',
|
|
|
|
platform: 'Windows 2008',
|
|
|
|
version: '9'
|
|
|
|
},
|
|
|
|
'SL_IE10': {
|
|
|
|
base: 'SauceLabs',
|
|
|
|
browserName: 'internet explorer',
|
|
|
|
platform: 'Windows 2012',
|
|
|
|
version: '10'
|
|
|
|
},
|
|
|
|
'SL_IE11': {
|
|
|
|
base: 'SauceLabs',
|
|
|
|
browserName: 'internet explorer',
|
|
|
|
platform: 'Windows 8.1',
|
|
|
|
version: '11'
|
|
|
|
},
|
2015-08-24 05:21:16 -04:00
|
|
|
'SL_ANDROID4.1': {
|
2015-06-02 10:29:09 -04:00
|
|
|
base: 'SauceLabs',
|
|
|
|
browserName: 'android',
|
|
|
|
platform: 'Linux',
|
2015-08-24 05:21:16 -04:00
|
|
|
version: '4.1'
|
2015-06-02 10:29:09 -04:00
|
|
|
},
|
2015-08-24 05:21:16 -04:00
|
|
|
'SL_ANDROID4.2': {
|
2015-06-02 10:29:09 -04:00
|
|
|
base: 'SauceLabs',
|
|
|
|
browserName: 'android',
|
|
|
|
platform: 'Linux',
|
2015-08-24 05:21:16 -04:00
|
|
|
version: '4.2'
|
2015-06-02 10:29:09 -04:00
|
|
|
},
|
|
|
|
'SL_ANDROID4.3': {
|
|
|
|
base: 'SauceLabs',
|
|
|
|
browserName: 'android',
|
|
|
|
platform: 'Linux',
|
|
|
|
version: '4.3'
|
|
|
|
},
|
2015-08-24 05:21:16 -04:00
|
|
|
'SL_ANDROID4.4': {
|
2015-06-02 10:29:09 -04:00
|
|
|
base: 'SauceLabs',
|
|
|
|
browserName: 'android',
|
|
|
|
platform: 'Linux',
|
2015-08-24 05:21:16 -04:00
|
|
|
version: '4.4'
|
2015-06-02 10:29:09 -04:00
|
|
|
},
|
2015-08-24 05:21:16 -04:00
|
|
|
'SL_ANDROID5.1': {
|
2015-06-02 10:29:09 -04:00
|
|
|
base: 'SauceLabs',
|
|
|
|
browserName: 'android',
|
|
|
|
platform: 'Linux',
|
2015-08-24 05:21:16 -04:00
|
|
|
version: '5.1'
|
2015-06-02 10:29:09 -04:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
var aliases = {
|
|
|
|
'ALL': Object.keys(customLaunchers).filter(function(item) {return customLaunchers[item].base == 'SauceLabs';}),
|
2015-09-29 08:22:52 -04:00
|
|
|
'DESKTOP': ['SL_CHROME', 'SL_FIREFOX', 'SL_IE9', 'SL_IE10', 'SL_IE11', 'SL_SAFARI7', 'SL_SAFARI8', 'SL_SAFARI8.1'],
|
2015-09-25 11:07:04 -04:00
|
|
|
'MOBILE': ['SL_ANDROID4.1', 'SL_ANDROID4.2', 'SL_ANDROID4.3', 'SL_ANDROID4.4', 'SL_ANDROID5.1', 'SL_IOS7', 'SL_IOS8', 'SL_IOS9'],
|
|
|
|
'ANDROID': ['SL_ANDROID4.1', 'SL_ANDROID4.2', 'SL_ANDROID4.3', 'SL_ANDROID4.4', 'SL_ANDROID5.1'],
|
2015-06-02 10:29:09 -04:00
|
|
|
'IE': ['SL_IE9', 'SL_IE10', 'SL_IE11'],
|
2015-09-25 11:07:04 -04:00
|
|
|
'IOS': ['SL_IOS7', 'SL_IOS8', 'SL_IOS9'],
|
2015-09-29 08:22:52 -04:00
|
|
|
'SAFARI': ['SL_SAFARI7', 'SL_SAFARI8', 'SL_SAFARI8.1'],
|
2015-06-02 10:29:09 -04:00
|
|
|
'BETA': ['SL_CHROMEBETA', 'SL_FIREFOXBETA'],
|
|
|
|
'DEV': ['SL_CHROMEDEV', 'SL_FIREFOXDEV'],
|
2015-09-29 08:22:52 -04:00
|
|
|
'CI': ['SL_CHROME', 'SL_ANDROID5.1', 'SL_SAFARI7', 'SL_SAFARI8', 'SL_SAFARI8.1', 'SL_IOS7', 'SL_IOS8', 'SL_IOS9',
|
|
|
|
'SL_FIREFOX', 'SL_IE9', 'SL_IE10', 'SL_IE11', 'SL_ANDROID4.1', 'SL_ANDROID4.2', 'SL_ANDROID4.3', 'SL_ANDROID4.4',
|
2015-10-06 12:30:18 -04:00
|
|
|
'SL_CHROMEDEV', 'SL_FIREFOXBETA']
|
2015-06-02 10:29:09 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
customLaunchers: customLaunchers,
|
|
|
|
aliases: aliases
|
|
|
|
}
|
|
|
|
|
|
|
|
if (process.env.TRAVIS) {
|
|
|
|
process.env.SAUCE_ACCESS_KEY = process.env.SAUCE_ACCESS_KEY.split('').reverse().join('');
|
2015-09-25 11:07:04 -04:00
|
|
|
}
|