mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-23 01:27:42 +01:00
Changed invalid webdriver environment variable name
This commit is contained in:
parent
26c706a411
commit
e5a0dabc80
@ -68,7 +68,7 @@ public class SeleniumExtension implements ParameterResolver, BeforeAllCallback,
|
||||
if (SystemUtils.IS_OS_WINDOWS) {
|
||||
return "C:\\chromedriver.exe";
|
||||
}
|
||||
return System.getenv("webdriver.chrome.driver");
|
||||
return System.getenv(CIProperties.CHROME_DRIVER);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -63,7 +63,7 @@ public class SeleniumDriver extends ExternalResource {
|
||||
if (SystemUtils.IS_OS_WINDOWS) {
|
||||
return "C:\\chromedriver.exe";
|
||||
}
|
||||
return System.getenv("webdriver.chrome.driver");
|
||||
return System.getenv(CIProperties.CHROME_DRIVER);
|
||||
}
|
||||
|
||||
public void newTab() {
|
||||
|
@ -8,6 +8,7 @@ package utilities;
|
||||
public class CIProperties {
|
||||
|
||||
public static final String IS_TRAVIS = "TRAVIS";
|
||||
public static final String CHROME_DRIVER = "CHROMEDRIVER";
|
||||
|
||||
private CIProperties() {
|
||||
/* Static variable class */
|
||||
|
Loading…
Reference in New Issue
Block a user