This repository has been 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
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(saucelabs): Add Sauce Labs HTTPS Support (#4071)
- Loading branch information
1 parent
29f975a
commit 3edd62e
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,10 +63,10 @@ export class Sauce extends DriverProvider { | |
this.config_.capabilities['username'] = this.config_.sauceUser; | ||
this.config_.capabilities['accessKey'] = this.config_.sauceKey; | ||
this.config_.capabilities['build'] = this.config_.sauceBuild; | ||
let auth = 'http://' + this.config_.sauceUser + ':' + this.config_.sauceKey + '@'; | ||
let auth = 'https://' + this.config_.sauceUser + ':' + this.config_.sauceKey + '@'; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
heathkit
Contributor
|
||
this.config_.seleniumAddress = | ||
auth + (this.config_.sauceSeleniumAddress ? this.config_.sauceSeleniumAddress : | ||
'ondemand.saucelabs.com:80/wd/hub'); | ||
'ondemand.saucelabs.com:443/wd/hub'); | ||
|
||
// Append filename to capabilities.name so that it's easier to identify | ||
// tests. | ||
|
Missed usage of
config.sauceSeleniumUseHttp
parameter!Current fix should be called "Use HTTPS ONLY" instead of "Add Sauce Labs HTTPS Support". :)
That cause some bugs using plugg-ins such "sauce-connect-launcher".