Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Investigate BrowserStack integration #1013

Closed
juliemr opened this issue Jul 1, 2014 · 4 comments
Closed

Investigate BrowserStack integration #1013

juliemr opened this issue Jul 1, 2014 · 4 comments
Assignees
Milestone

Comments

@juliemr
Copy link
Member

juliemr commented Jul 1, 2014

No description provided.

@elgalu
Copy link
Contributor

elgalu commented Jul 1, 2014

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';

@juliemr juliemr added this to the 1.X milestone Jul 1, 2014
@juliemr juliemr self-assigned this Jul 1, 2014
@bclinkinbeard
Copy link
Contributor

This does indeed work. I was able to convert my Sauce Labs config in a couple minutes.

@mgol
Copy link
Member

mgol commented Jan 12, 2015

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:

UnknownError: N sessions are currently being used. Please upgrade to add more parallel sessions.

@elgalu
Copy link
Contributor

elgalu commented Aug 17, 2015

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
sjelin pushed a commit to sjelin/protractor that referenced this issue Nov 5, 2015
sjelin pushed a commit to sjelin/protractor that referenced this issue Nov 9, 2015
sjelin pushed a commit to sjelin/protractor that referenced this issue Nov 9, 2015
sjelin pushed a commit to sjelin/protractor that referenced this issue Nov 9, 2015
sjelin pushed a commit to sjelin/protractor that referenced this issue Nov 9, 2015
sjelin pushed a commit to sjelin/protractor that referenced this issue Nov 9, 2015
sjelin pushed a commit to sjelin/protractor that referenced this issue Nov 9, 2015
sjelin pushed a commit to sjelin/protractor that referenced this issue Nov 16, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants