Skip to content

Commit

Permalink
swisspost#162: added chromedriver to resources and dissabled other tests
Browse files Browse the repository at this point in the history
  • Loading branch information
roggerj committed Sep 6, 2017
1 parent d8d1b69 commit a588446
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ services:
- redis-server
script:
- ./gradlew build
# - ./gradlew gateleen-test:startServer (also waits for it to come up)
# - ./gradlew gateleen-playground:uploapStaticFiles
# - ./gradlew gateleen-test:stopServer
- ./gradlew :gateleen-test:test -PintegrationTests
- ./gradlew jacocoTestReport
after_success:
Expand Down
4 changes: 4 additions & 0 deletions gateleen-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,8 @@ test {
onlyIf {
project.hasProperty("integrationTests")
}
filter {
//specific test class, wildcard for packages
includeTestsMatching "*.HookJsUITest"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class HookJsUITest extends AbstractTest {
@Test
public void testSingleHook() throws InterruptedException {

System.setProperty("webdriver.chrome.driver", "/home/jonas/work/jrepo-local/tools/chromedriver");
System.setProperty("webdriver.chrome.driver", "src/test/resources/chromedriver/chromedriver");
webDriver = new ChromeDriver();
webDriver.get("http://localhost:" + MAIN_PORT + ROOT + "/hooktest.html");

Expand Down
Binary file not shown.

0 comments on commit a588446

Please sign in to comment.