This repository was archived by the owner on Jul 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Investigate BrowserStack integration #1013
Comments
This works: ////////////
// COMMON //
////////////
config.seleniumAddress = 'https://hub.browserstack.com/wd/hub';
config.capabilities['browserstack.user'] = process.env.BROWSERSTACK_USER;
config.capabilities['browserstack.key'] = process.env.BROWSERSTACK_KEY;
config.capabilities['browserstack.debug'] = 'true';
// Latest selenium: https://hub.browserstack.com/wd/hub/status
// 2.39 is the known version to correcly support uploads when input type=file is invisible
config.capabilities['browserstack.ie.driver'] = '2.39';
//////////////
// CI STUFF //
//////////////
config.capabilities['project'] = 'Grouping 1';
config.capabilities['build'] = 'Grouping 2';
config.capabilities['name'] = 'some build name for the current capability';
//////////
// MISC //
//////////
// Max cross-browser available resolution in BrowserStack
config.capabilities['resolution'] = '1280x1024'; |
This does indeed work. I was able to convert my Sauce Labs config in a couple minutes. |
This will need resource management similar to what karma-browserstack-launcher has (using the npm browserstack module). Otherwise running this with too many browsers will immediately fail with a message:
|
What's still missing is Protractor to update the tests results via the API {
uri: 'https://www.browserstack.com/automate/sessions/' +
sessionId + '.json',
method: 'PUT',
json: { "status": status }
} |
sjelin
pushed a commit
to sjelin/protractor
that referenced
this issue
Nov 4, 2015
Also added BrowserStack to CI Closes angular#1013
sjelin
pushed a commit
to sjelin/protractor
that referenced
this issue
Nov 5, 2015
Also added BrowserStack to CI Closes angular#1013
sjelin
pushed a commit
to sjelin/protractor
that referenced
this issue
Nov 9, 2015
Also added BrowserStack to CI Closes angular#1013
sjelin
pushed a commit
to sjelin/protractor
that referenced
this issue
Nov 9, 2015
Also added BrowserStack to CI Closes angular#1013
sjelin
pushed a commit
to sjelin/protractor
that referenced
this issue
Nov 9, 2015
Also added BrowserStack to CI Closes angular#1013
sjelin
pushed a commit
to sjelin/protractor
that referenced
this issue
Nov 9, 2015
Also added BrowserStack to CI Closes angular#1013
sjelin
pushed a commit
to sjelin/protractor
that referenced
this issue
Nov 9, 2015
Also added BrowserStack to CI Closes angular#1013
sjelin
pushed a commit
to sjelin/protractor
that referenced
this issue
Nov 9, 2015
Also added BrowserStack to CI Closes angular#1013
sjelin
pushed a commit
to sjelin/protractor
that referenced
this issue
Nov 16, 2015
Also added BrowserStack to CI Closes angular#1013
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
No description provided.
The text was updated successfully, but these errors were encountered: