Skip to content

Commit

Permalink
swisspost#162: fixed chromedriver path
Browse files Browse the repository at this point in the history
  • Loading branch information
roggerj committed Sep 8, 2017
1 parent 031a974 commit b2d3d86
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ script:
- sleep 10s
# - ./gradlew :gateleen-playground:uploadStaticFiles
- ./gradlew :gateleen-playground:uploadStaticFiles
- ./gradlew :gateleen-test:test -PuiTests
- ./gradlew :gateleen-test:test -PuiTests -Dsel_chrome_driver=src/test/resources/chromedriver
# - ./gradlew gateleen-test:stopServer
- kill $(ps -ef | grep playground | awk '{ print $2 }')
- ./gradlew :gateleen-test:test -PnonUiTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ public class HookJsUITest {
public static void setupChromeDriver() {


if (System.getProperty("sel_chrome_driver") == null) {
System.setProperty("webdriver.chrome.driver", "src/test/resources/chromedriver");
} else {
// if (System.getProperty("sel_chrome_driver") == null) {
// System.setProperty("webdriver.chrome.driver", "src/test/resources/chromedriver");
// } else {
System.setProperty("webdriver.chrome.driver", System.getProperty("sel_chrome_driver"));
}
// }

webDriver = new ChromeDriver();
}
Expand Down

0 comments on commit b2d3d86

Please sign in to comment.