This repository has been archived by the owner on Sep 21, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 575
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Using new BS API endpoint, fixes #1065 * Moving to openjdk8 * Updating API endpoint in unit tests * Reverting small change
- Loading branch information
Showing
3 changed files
with
4 additions
and
4 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
language: java | ||
jdk: | ||
- oraclejdk8 | ||
- openjdk8 | ||
|
||
sudo: required | ||
|
||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
public class BrowserStackRemoteProxy extends CloudTestingRemoteProxy { | ||
|
||
private static final String BROWSER_STACK_URL = getEnv().getStringEnvVariable("BROWSER_STACK_URL", "http://hub-cloud.browserstack.com:80"); | ||
private static final String BROWSER_STACK_ACCOUNT_INFO = "https://www.browserstack.com/automate/plan.json"; | ||
private static final String BROWSER_STACK_ACCOUNT_INFO = "https://api.browserstack.com/automate/plan.json"; | ||
private static final Logger logger = LoggerFactory.getLogger(BrowserStackRemoteProxy.class.getName()); | ||
private static final String BROWSER_STACK_USER = getEnv().getStringEnvVariable("BROWSER_STACK_USER", ""); | ||
private static final String BROWSER_STACK_KEY = getEnv().getStringEnvVariable("BROWSER_STACK_KEY", ""); | ||
|
@@ -85,7 +85,7 @@ public String getCloudTestingServiceUrl() { | |
@Override | ||
public TestInformation getTestInformation(String seleniumSessionId) { | ||
// https://BS_USER:[email protected]/automate/sessions/SELENIUM_SESSION_ID.json | ||
String browserStackBaseTestUrl = "https://www.browserstack.com/automate/sessions/"; | ||
String browserStackBaseTestUrl = "https://api.browserstack.com/automate/sessions/"; | ||
String browserStackTestUrl = browserStackBaseTestUrl + String.format("%s.json", seleniumSessionId); | ||
for (int i = 0; i < 5; i++) { | ||
try { | ||
|
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