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

Commit

Permalink
cleanup(config): **breaking change** Remove redundant sauceProxy conf…
Browse files Browse the repository at this point in the history
…ig (#3868)
  • Loading branch information
heathkit authored and juliemr committed Dec 29, 2016
1 parent 9465b9f commit 604fdbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
12 changes: 2 additions & 10 deletions lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,18 +120,10 @@ export interface Config {
*
* To match sauce agent implementation, use
* [HttpProxyAgent](https://github.com/TooTallNate/node-http-proxy-agent)
* to generate the agent or use sauceProxy as an alternative. If a
* sauceProxy is provided, the sauceAgent will be overridden.
* to generate the agent or use webDriverProxy as an alternative. If a
* webDriverProxy is provided, the sauceAgent will be overridden.
*/
sauceAgent?: any;
/**
* Use sauceProxy if you are behind a corporate proxy to connect to
* saucelabs.com.
*
* The sauceProxy is used to generate an HTTP agent. If a sauceProxy is
* provided, the sauceAgent will be overridden.
*/
sauceProxy?: string;
/**
* Use sauceBuild if you want to group test capabilites by a build ID
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/driverProviders/sauce.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class Sauce extends DriverProvider {
username: this.config_.sauceUser,
password: this.config_.sauceKey,
agent: this.config_.sauceAgent,
proxy: this.config_.sauceProxy
proxy: this.config_.webDriverProxy
});
this.config_.capabilities['username'] = this.config_.sauceUser;
this.config_.capabilities['accessKey'] = this.config_.sauceKey;
Expand Down

0 comments on commit 604fdbf

Please sign in to comment.