Skip to content

Commit

Permalink
Fix visual tests, fail build if vusial tests failing
Browse files Browse the repository at this point in the history
  • Loading branch information
Limon Monte committed Sep 12, 2017
1 parent 60ea055 commit 6e38dc9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .gemini.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
rootUrl: http://127.0.0.1:8080/components/vaadin-button/test/visual/
gridUrl: http://127.0.0.1:4444/wd/hub
rootUrl: http://localhost:8080/components/vaadin-button/test/visual/
gridUrl: http://localhost:4444/wd/hub
screenshotsDir: ./test/visual/screens

system:
Expand Down
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ before_script:

script:
- if [[ "$TRAVIS_EVENT_TYPE" != "pull_request" && "$TRAVIS_BRANCH" != quick/* ]]; then
npm i gemini@^4.0.0 gemini-sauce gemini-polyserve;
gemini test test/visual;
gemini test test/visual -c .gemini-ie.yml;
npm i gemini@^4.0.0 gemini-sauce gemini-polyserve &&
gemini test test/visual &&
gemini test test/visual -c .gemini-ie.yml &&
xvfb-run -s '-screen 0 1024x768x24' polymer test --env saucelabs;
fi
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then
Expand Down
Binary file modified test/visual/screens/vaadin-button/default-tests/default/chrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/visual/screens/vaadin-button/styling/default/chrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6e38dc9

Please sign in to comment.