Skip to content

Commit

Permalink
swisspost#162: fixed build, renamed/moved cucumber test files
Browse files Browse the repository at this point in the history
  • Loading branch information
roggerj committed Sep 12, 2017
1 parent 65651ab commit 5da5ad7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
# Because newer versions of Chrome are not supported for the deprecated precise environment we are using,
# Because newer versions of Chrome are not supported for the deprecated "precise" environment of travis we are using,
# we download and install an older version of Chrome (v. 48), along with some dependencies.
- sudo apt-get install -y libappindicator1 fonts-liberation
- wget http://www.slimjet.com/chrome/download-chrome.php?file=lnx%2Fchrome64_48.0.2564.109.deb
Expand All @@ -18,7 +18,7 @@ before_install:
- unzip chromedriver_linux64.zip -d gateleen-test/src/test/resources/
script:
- ./gradlew build
- java -jar gateleen-playground/build/libs/playground.jar &> /home/jonas/work/projects/gateleen/playground_logs.log &
- java -jar gateleen-playground/build/libs/playground.jar &> playground_logs.log &
# TODO: Instead of sleeping, should we rather make sure that the server Playground actually is running?
- sleep 5s
- ./gradlew :gateleen-playground:uploadStaticFiles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@

package org.swisspush.gateleen.hookjs;

import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;
import org.junit.runner.RunWith;

@RunWith(Cucumber.class)
public class RunCucumberTests {
@CucumberOptions(
format = "pretty",
features = "src/test/resources/features/hook-js.feature"
)
public class HookJsTest {
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Feature: hook-js UI Test
Feature: Hooking for JavaScript clients

Background:
Given Chrome has been started
Expand Down

0 comments on commit 5da5ad7

Please sign in to comment.