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-10-26 19:44:32 -04:00
|
|
|
'SL_SAFARI9.0': {
|
2015-09-29 08:22:52 -04:00
|
|
|
base: 'SauceLabs',
|
|
|
|
browserName: 'safari',
|
|
|
|
platform: 'OS X 10.11',
|
2015-10-26 19:44:32 -04:00
|
|
|
version: '9.0'
|
2015-09-29 08:22:52 -04:00
|
|
|
},
|
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-09-27 18:38:30 -04:00
|
|
|
'SL_EDGE': {
|
|
|
|
base: 'SauceLabs',
|
|
|
|
browserName: 'microsoftedge',
|
|
|
|
platform: 'Windows 10',
|
|
|
|
version: '20.10240'
|
|
|
|
},
|
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-10-27 11:09:09 -04:00
|
|
|
},
|
|
|
|
|
2015-11-03 11:26:56 -05:00
|
|
|
'BS_CHROME': {
|
2015-10-27 11:09:09 -04:00
|
|
|
base: 'BrowserStack',
|
|
|
|
browser: 'chrome',
|
|
|
|
os: 'OS X',
|
|
|
|
os_version: 'Yosemite'
|
2015-11-03 11:26:56 -05:00
|
|
|
},
|
|
|
|
'BS_FIREFOX': {
|
|
|
|
base: 'BrowserStack',
|
|
|
|
browser: 'firefox',
|
|
|
|
os: 'Windows',
|
|
|
|
os_version: '10'
|
|
|
|
},
|
|
|
|
'BS_SAFARI7': {
|
|
|
|
base: 'BrowserStack',
|
|
|
|
browser: 'safari',
|
|
|
|
os: 'OS X',
|
|
|
|
os_version: 'Mavericks'
|
|
|
|
},
|
|
|
|
'BS_SAFARI8': {
|
|
|
|
base: 'BrowserStack',
|
|
|
|
browser: 'safari',
|
|
|
|
os: 'OS X',
|
|
|
|
os_version: 'Yosemite'
|
|
|
|
},
|
|
|
|
'BS_SAFARI9': {
|
|
|
|
base: 'BrowserStack',
|
|
|
|
browser: 'safari',
|
|
|
|
os: 'OS X',
|
|
|
|
os_version: 'El Capitan'
|
|
|
|
},
|
|
|
|
'BS_IOS7': {
|
|
|
|
base: 'BrowserStack',
|
|
|
|
device: 'iPhone 5S',
|
|
|
|
os: 'ios',
|
|
|
|
os_version: '7.0'
|
|
|
|
},
|
|
|
|
'BS_IOS8': {
|
|
|
|
base: 'BrowserStack',
|
|
|
|
device: 'iPhone 6',
|
|
|
|
os: 'ios',
|
|
|
|
os_version: '8.3'
|
|
|
|
},
|
|
|
|
'BS_IOS9': {
|
|
|
|
base: 'BrowserStack',
|
|
|
|
device: 'iPhone 6S',
|
|
|
|
os: 'ios',
|
|
|
|
os_version: '9.0'
|
|
|
|
},
|
|
|
|
'BS_IE9': {
|
|
|
|
base: 'BrowserStack',
|
|
|
|
browser: 'ie',
|
|
|
|
browser_version: '9.0',
|
|
|
|
os: 'Windows',
|
|
|
|
os_version: '7'
|
|
|
|
},
|
|
|
|
'BS_IE10': {
|
|
|
|
base: 'BrowserStack',
|
|
|
|
browser: 'ie',
|
|
|
|
browser_version: '10.0',
|
|
|
|
os: 'Windows',
|
|
|
|
os_version: '8'
|
|
|
|
},
|
|
|
|
'BS_IE11': {
|
|
|
|
base: 'BrowserStack',
|
|
|
|
browser: 'ie',
|
|
|
|
browser_version: '11.0',
|
|
|
|
os: 'Windows',
|
|
|
|
os_version: '10'
|
|
|
|
},
|
|
|
|
'BS_EDGE': {
|
|
|
|
base: 'BrowserStack',
|
|
|
|
browser: 'edge',
|
|
|
|
os: 'Windows',
|
|
|
|
os_version: '10'
|
|
|
|
},
|
2015-11-05 05:45:46 -05:00
|
|
|
'BS_WINDOWSPHONE' : {
|
|
|
|
base: 'BrowserStack',
|
|
|
|
device: 'Nokia Lumia 930',
|
|
|
|
os: 'winphone',
|
|
|
|
os_version: '8.1'
|
|
|
|
},
|
2015-11-03 11:26:56 -05:00
|
|
|
'BS_ANDROID5': {
|
|
|
|
base: 'BrowserStack',
|
|
|
|
device: 'Google Nexus 5',
|
|
|
|
os: 'android',
|
|
|
|
os_version: '5.0'
|
|
|
|
},
|
|
|
|
'BS_ANDROID4.4': {
|
|
|
|
base: 'BrowserStack',
|
|
|
|
device: 'HTC One M8',
|
|
|
|
os: 'android',
|
|
|
|
os_version: '4.4'
|
|
|
|
},
|
|
|
|
'BS_ANDROID4.3': {
|
|
|
|
base: 'BrowserStack',
|
|
|
|
device: 'Samsung Galaxy S4',
|
|
|
|
os: 'android',
|
|
|
|
os_version: '4.3'
|
|
|
|
},
|
|
|
|
'BS_ANDROID4.2': {
|
|
|
|
base: 'BrowserStack',
|
|
|
|
device: 'Google Nexus 4',
|
|
|
|
os: 'android',
|
|
|
|
os_version: '4.2'
|
|
|
|
},
|
|
|
|
'BS_ANDROID4.1': {
|
|
|
|
base: 'BrowserStack',
|
|
|
|
device: 'Google Nexus 7',
|
|
|
|
os: 'android',
|
|
|
|
os_version: '4.1'
|
2015-06-02 10:29:09 -04:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2015-10-27 11:09:09 -04:00
|
|
|
var sauceAliases = {
|
2015-06-02 10:29:09 -04:00
|
|
|
'ALL': Object.keys(customLaunchers).filter(function(item) {return customLaunchers[item].base == 'SauceLabs';}),
|
2015-10-26 19:44:32 -04:00
|
|
|
'DESKTOP': ['SL_CHROME', 'SL_FIREFOX', 'SL_IE9', 'SL_IE10', 'SL_IE11', 'SL_EDGE', 'SL_SAFARI7', 'SL_SAFARI8', 'SL_SAFARI9.0'],
|
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-10-26 19:44:32 -04:00
|
|
|
'SAFARI': ['SL_SAFARI7', 'SL_SAFARI8', 'SL_SAFARI9.0'],
|
2015-06-02 10:29:09 -04:00
|
|
|
'BETA': ['SL_CHROMEBETA', 'SL_FIREFOXBETA'],
|
|
|
|
'DEV': ['SL_CHROMEDEV', 'SL_FIREFOXDEV'],
|
2015-10-26 19:44:32 -04:00
|
|
|
'CI': ['SL_CHROME', 'SL_ANDROID5.1', 'SL_SAFARI7', 'SL_SAFARI8', 'SL_SAFARI9.0', 'SL_IOS7', 'SL_IOS8', 'SL_IOS9',
|
2015-09-27 18:38:30 -04:00
|
|
|
'SL_FIREFOX', 'SL_IE9', 'SL_IE10', 'SL_IE11', 'SL_EDGE', '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
|
|
|
};
|
|
|
|
|
2015-10-27 11:09:09 -04:00
|
|
|
var browserstackAliases = {
|
|
|
|
'ALL': Object.keys(customLaunchers).filter(function(item) {return customLaunchers[item].base == 'BrowserStack';}),
|
2015-11-03 11:26:56 -05:00
|
|
|
'DESKTOP': ['BS_CHROME', 'BS_FIREFOX', 'BS_IE9', 'BS_IE10', 'BS_IE11', 'BS_EDGE', 'BS_SAFARI7', 'BS_SAFARI8', 'BS_SAFARI9'],
|
2015-11-05 05:45:46 -05:00
|
|
|
'MOBILE': ['BS_ANDROID4.3', 'BS_ANDROID4.4', 'BS_IOS7', 'BS_IOS8', 'BS_IOS9', 'BS_WINDOWSPHONE'],
|
2015-11-06 07:57:27 -05:00
|
|
|
'ANDROID': ['BS_ANDROID4.3', 'BS_ANDROID4.4'],
|
2015-11-03 11:26:56 -05:00
|
|
|
'IE': ['BS_IE9', 'BS_IE10', 'BS_IE11'],
|
|
|
|
'IOS': ['BS_IOS7', 'BS_IOS8', 'BS_IOS9'],
|
|
|
|
'SAFARI': ['BS_SAFARI7', 'BS_SAFARI8', 'BS_SAFARI9'],
|
2015-11-06 07:57:27 -05:00
|
|
|
'CI': ['BS_CHROME', 'BS_SAFARI7', 'BS_SAFARI8', 'BS_SAFARI9', 'BS_IOS7', 'BS_IOS8', 'BS_IOS9',
|
2015-11-05 05:45:46 -05:00
|
|
|
'BS_FIREFOX', 'BS_IE9', 'BS_IE10', 'BS_IE11', 'BS_EDGE', 'BS_WINDOWSPHONE', 'BS_ANDROID4.3', 'BS_ANDROID4.4']
|
2015-10-27 11:09:09 -04:00
|
|
|
};
|
|
|
|
|
2015-06-02 10:29:09 -04:00
|
|
|
module.exports = {
|
|
|
|
customLaunchers: customLaunchers,
|
2015-10-27 11:09:09 -04:00
|
|
|
sauceAliases: sauceAliases,
|
|
|
|
browserstackAliases: browserstackAliases
|
2015-06-02 10:29:09 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
if (process.env.TRAVIS) {
|
|
|
|
process.env.SAUCE_ACCESS_KEY = process.env.SAUCE_ACCESS_KEY.split('').reverse().join('');
|
2015-10-27 11:09:09 -04:00
|
|
|
process.env.BROWSER_STACK_ACCESS_KEY = process.env.BROWSER_STACK_ACCESS_KEY.split('').reverse().join('');
|
2015-09-25 11:07:04 -04:00
|
|
|
}
|