Files
meteor/tools/tool-testing/clients/browserstack/clients.js
Jesse Rosenberger 5475add47f Re-factor and re-enable BrowserStack Automate for meteor self-test.
Much of the infrastructure to run "self test" tests (those which test
core functionality of the `meteor` tool itself) in PhantomJS and
BrowserStack was already in place, though the BrowserStack portion had
been disabled some time ago, though the exact reason isn't entirely
clear.

BrowserStack could play an important roll in Meteor's future as Meteor
works to ensure that the bundle delivered to the client is appropriate
for that client's capabilities, including appropriate polyfills to
implement functionality not natively available in the browser (e.g.
ECMAScript features, SockJS, etc.).
2017-11-29 21:40:00 +02:00

62 lines
1.5 KiB
JavaScript

// This represents a list of configurations which we'd like to test
// using BrowserStack automation. Each element represents two
// parts, the "selenium" settings and the "browserstack" settings.
// Although these are all flattened into the "capabilities" when sent
// to BrowserStack, the "selenium" settings are considered to be
// specific to selenium and the "browserstack" settings are
// BrowserStack specific.
//
// Selenium's documentation of these properities can be found at:
// https://github.com/SeleniumHQ/selenium/wiki/DesiredCapabilities
//
// BrowserStack's documentation of these properties can be found at:
// https://www.browserstack.com/automate/capabilities.
//
// Available devices and platforms are listed at:
// https://www.browserstack.com/list-of-browsers-and-platforms?product=automate
module.exports = [
{
selenium: {
platform: "ANY",
browserName: "firefox",
},
},
{
selenium: {
platform: "ANY",
browserName: "chrome",
},
},
{
selenium: {
platform: "WINDOWS",
browserName: "internet explorer",
version: "11",
},
},
{
selenium: {
platform: "WINDOWS",
browserName: "internet explorer",
version: "9",
},
},
{
selenium: {
platform: "MAC",
browserName: "safari",
},
},
{
selenium: {
platform: "ANY",
browserName: "android",
},
browserstack: {
device: "Samsung Galaxy S7",
realMobile: true
},
},
];