From b001118c9878e0a14e63e5c76f6ec6f5a28c8fb0 Mon Sep 17 00:00:00 2001 From: Johann-S Date: Thu, 28 Sep 2017 17:59:13 +0300 Subject: [PATCH] Convert sauce_browser.yml to JSON. --- build/sauce_browsers.json | 64 +++++++++++++++++++++++++++++ build/sauce_browsers.yml | 79 ------------------------------------ build/saucelabs-unit-test.js | 4 ++ 3 files changed, 68 insertions(+), 79 deletions(-) create mode 100644 build/sauce_browsers.json delete mode 100644 build/sauce_browsers.yml diff --git a/build/sauce_browsers.json b/build/sauce_browsers.json new file mode 100644 index 0000000000..e5aae5eee9 --- /dev/null +++ b/build/sauce_browsers.json @@ -0,0 +1,64 @@ +[ + { + "browserName": "safari", + "platform": "OS X 10.11" + }, + { + "browserName": "chrome", + "platform": "OS X 10.11", + "version": "latest" + }, + { + "browserName": "firefox", + "platform": "OS X 10.11", + "version": "latest" + }, + { + "browserName": "MicrosoftEdge", + "platform": "Windows 10", + "version": "latest" + }, + { + "browserName": "internet explorer", + "version": "11", + "platform": "Windows 8.1" + }, + { + "browserName": "internet explorer", + "version": "10", + "platform": "Windows 8" + }, + { + "browserName": "chrome", + "platform": "Windows 10", + "version": "latest" + }, + { + "browserName": "firefox", + "platform": "Windows 10", + "version": "latest" + }, + { + "browserName": "iphone", + "deviceName": "iPhone Simulator", + "platformName": "OS X 10.11", + "version": "9.3" + }, + { + "browserName": "chrome", + "platform": "Linux", + "version": "latest" + }, + { + "browserName": "firefox", + "platform": "Linux", + "version": "latest" + }, + { + "platform": "Linux", + "browserName": "android", + "deviceName": "Android Emulator", + "version": "latest", + "deviceType": "phone" + } +] diff --git a/build/sauce_browsers.yml b/build/sauce_browsers.yml deleted file mode 100644 index af271c3b29..0000000000 --- a/build/sauce_browsers.yml +++ /dev/null @@ -1,79 +0,0 @@ -[ - # Docs: https://wiki.saucelabs.com/display/DOCS/Platform+Configurator - - { - browserName: "safari", - platform: "OS X 10.11" - }, - { - browserName: "chrome", - platform: "OS X 10.11", - version: "latest" - }, - { - browserName: "firefox", - platform: "OS X 10.11", - version: "latest" - }, - - # Mac Opera not currently supported by Sauce Labs - - { - browserName: "MicrosoftEdge", - platform: "Windows 10", - version: "latest" - }, - { - browserName: "internet explorer", - version: "11", - platform: "Windows 8.1" - }, - { - browserName: "internet explorer", - version: "10", - platform: "Windows 8" - }, - - { - browserName: "chrome", - platform: "Windows 10", - version: "latest" - }, - { - browserName: "firefox", - platform: "Windows 10", - version: "latest" - }, - - # Win Opera 15+ not currently supported by Sauce Labs - - { - browserName: "iphone", - deviceName: "iPhone Simulator", - platformName: "OS X 10.11", - version: "9.3" - }, - - # iOS Chrome not currently supported by Sauce Labs - - # Linux (unofficial) - { - browserName: "chrome", - platform: "Linux", - version: "latest" - }, - { - browserName: "firefox", - platform: "Linux", - version: "latest" - }, - - # Android - { - platform: "Linux", - browserName: "android", - deviceName: "Android Emulator", - version: "latest", - deviceType: "phone" - } -] diff --git a/build/saucelabs-unit-test.js b/build/saucelabs-unit-test.js index 778c54d8e5..f158848a34 100644 --- a/build/saucelabs-unit-test.js +++ b/build/saucelabs-unit-test.js @@ -8,6 +8,10 @@ const jsUnitSaucelabs = new JSUnitSaucelabs({ // TODO : get all the browsers in sauce_browsers.yml +// Docs: https://wiki.saucelabs.com/display/DOCS/Platform+Configurator +// Mac Opera is not currently supported by Sauce Labs +// Win Opera 15+ is not currently supported by Sauce Labs +// iOS Chrome is not currently supported by Sauce Labs const testURL = 'http://localhost:3000/js/tests/index.html?hidepassed'