1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- var desktop = {
- 'mac-chrome-latest' : ['OS X 10.12', 'chrome', '60.0'],
- 'mac-firefox-latest' : ['OS X 10.12', 'firefox', '54.0'],
- 'mac-safari-latest' : ['OS X 10.12', 'safari', '11.0'],
- 'mac-chrome-previous' : ['OS X 10.11', 'chrome', '59.0'],
- 'mac-firefox-previous' : ['OS X 10.11', 'firefox', '53.0'],
- 'mac-safari-previous' : ['OS X 10.11', 'safari', '10.0'],
- 'windows-chrome-latest' : ['Windows 10', 'chrome', '60.0'],
- 'windows-firefox-latest' : ['Windows 10', 'firefox', '54.0'],
- 'windows-edge-latest' : ['Windows 10', 'microsoftedge', '15.15063'],
- 'windows-ie-latest' : ['Windows 8.1', 'internet explorer', '11.0'],
- 'windows-chrome-previous' : ['Windows 8.1', 'chrome', '59.0'],
- 'windows-firefox-previous': ['Windows 8.1', 'firefox', '53.0'],
- 'windows-edge-previous' : ['Windows 10', 'microsoftedge', '14.14393'],
- 'linux-chrome-latest' : ['Linux', 'chrome', '48.0'],
- 'linux-firefox-latest' : ['Linux', 'firefox', '45.0'],
- 'linux-chrome-previous' : ['Linux', 'chrome', '47.0'],
- 'linux-firefox-previous' : ['Linux', 'firefox', '44.0']
- };
- var mobile = {
- 'ios-latest' : ['iPhone 7 Plus', 'iOS', '10.3', 'Safari'],
- 'ios-previous' : ['iPhone 6 Plus', 'iOS', '9.3', 'Safari'],
- 'android-latest' : ['Android GoogleAPI Emulator', 'Android', '7.1', 'Chrome'],
- 'android-previous' : ['Android GoogleAPI Emulator', 'Android', '6.0', 'Chrome']
- };
- Object.keys(desktop).forEach(function(key) {
- module.exports[key] = {
- base: 'SauceLabs',
- browserName: desktop[key][1],
- version: desktop[key][2],
- platform: desktop[key][0]
- };
- });
- Object.keys(mobile).forEach(function(key) {
- module.exports[key] = {
- base: 'SauceLabs',
- browserName: mobile[key][3],
- appiumVersion: '1.6.4',
- deviceName: mobile[key][0],
- deviceOrientation: 'portrait',
- platformVersion: mobile[key][2],
- platformName: mobile[key][1]
- };
- });
|