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

disableEnvironmentOverrides in protractor tests #2300

Closed
abhishekswain opened this issue Jul 3, 2015 · 1 comment
Closed

disableEnvironmentOverrides in protractor tests #2300

abhishekswain opened this issue Jul 3, 2015 · 1 comment

Comments

@abhishekswain
Copy link

While using SauceLabs Ondemand Jenkins plugin,if we select a browser platform combination, it propagates browser and platform details to SELENIUM_BROWSER , SELENIUM_VERSION etc.

webdriverjs builder is made to override user provided capabilities in case SELENIUM_BROWSER env variable is found. So in this case capabilities provided in protractor config is overridden and caps like platform is lost. So test always runs with default sauce browser chrome on Linux.

Please suggest or make a way to pass disableEnvironmentOverrides() to builder.

@hankduan
Copy link
Contributor

hankduan commented Jul 7, 2015

I'm not sure what exactly you are asking. In protractor you can define your browser and capability. See https://github.com/angular/protractor/blob/master/docs/referenceConf.js

You can also connect to sauce, see http://www.protractortest.org/#/server-setup#remote-selenium-server.

In any case, this is more of a question than an issue. Please read the contributing guidelines.

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

2 participants