Skip to content

Commit

Permalink
Align with skeleton: Run visual tests against Chrome and Firefox only (
Browse files Browse the repository at this point in the history
…#94)

* Align with skeleton: Run visual tests against Chrome and Firefox only

* Update chrome version and screenshots
  • Loading branch information
manolo authored and Limon Monte committed Jul 2, 2018
1 parent 7936aed commit 18786d3
Show file tree
Hide file tree
Showing 29 changed files with 15 additions and 59 deletions.
16 changes: 0 additions & 16 deletions .gemini-chrome.yml

This file was deleted.

44 changes: 6 additions & 38 deletions .gemini.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,46 +9,14 @@ system:
sauce: true

browsers:
firefox:
chrome:
desiredCapabilities:
browserName: "firefox"
version: "47.0"
platform: "Windows 10"

ie:
desiredCapabilities:
browserName: "internet explorer"
version: "11.0"
browserName: "chrome"
version: "67.0"
platform: "Windows 10"

edge:
firefox:
desiredCapabilities:
browserName: "microsoftedge"
version: "15"
browserName: "firefox"
version: "47.0"
platform: "Windows 10"

android:
desiredCapabilities:
browserName: "chrome"
platform: "Android"

# The following setups don't currently work due to Selenium SafariDriver issue
# https://github.com/vaadin/vaadin-element-skeleton/issues/19
#
# safari:
# desiredCapabilities:
# browserName: "safari"
# version: "10.0"
# platform: "OS X 10.11"
#
# iphone:
# desiredCapabilities:
# browserName: "iphone"
# version: "9.2"
# platform: "OS X 10.11"
#
# ipad:
# desiredCapabilities:
# browserName: "ipad"
# version: "9.2"
# platform: "OS X 10.11"
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ script:
if [[ "$TRAVIS_EVENT_TYPE" != "pull_request" && "$TRAVIS_BRANCH" != quick/* ]]; then
if [[ "$TEST_SUITE" = "visual_tests" ]]; then
npm i -q --no-save gemini@^4.0.0 gemini-sauce gemini-polyserve &&
gemini test test/visual && gemini test test/visual -c .gemini-chrome.yml;
gemini test test/visual;
else
wct --env saucelabs;
fi;
Expand Down
3 changes: 2 additions & 1 deletion test/visual/icons.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<script src="../../../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="../../vaadin-button.html">
<link rel="import" href="../../../vaadin-lumo-styles/icons.html">
<link rel="import" href="../../../iron-icon/iron-icon.html">

<custom-style>
<style include="lumo-typography lumo-color">
Expand Down Expand Up @@ -61,4 +62,4 @@ <h2>Icons and size presets</h2>
<span>Icon suffix</span>
<iron-icon slot="suffix" icon="lumo:arrow-right"></iron-icon>
</vaadin-button>
</body>
</body>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified test/visual/screens/vaadin-button/icons/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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified test/visual/screens/vaadin-button/sizing/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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified test/visual/screens/vaadin-button/types/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.
Binary file not shown.
Binary file not shown.
3 changes: 2 additions & 1 deletion test/visual/sizing.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<script src="../../../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="../../vaadin-button.html">
<link rel="import" href="../../../vaadin-lumo-styles/icons.html">
<link rel="import" href="../../../iron-icon/iron-icon.html">

<custom-style>
<style include="lumo-typography lumo-color">
Expand Down Expand Up @@ -39,4 +40,4 @@ <h2>Sizing and vertical align</h2>
<iron-icon slot="prefix" icon="lumo:plus"></iron-icon>
Multiple<br>lines
</vaadin-button>
</body>
</body>
3 changes: 2 additions & 1 deletion test/visual/truncation-expansion.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<script src="../../../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="../../vaadin-button.html">
<link rel="import" href="../../../vaadin-lumo-styles/icons.html">
<link rel="import" href="../../../iron-icon/iron-icon.html">

<custom-style>
<style include="lumo-typography lumo-color">
Expand Down Expand Up @@ -43,4 +44,4 @@ <h2>Truncation and expansion</h2>
<span>Longer text for a button</span>
<iron-icon slot="suffix" icon="lumo:arrow-right"></iron-icon>
</vaadin-button>
</body>
</body>
3 changes: 2 additions & 1 deletion test/visual/types.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<script src="../../../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="../../vaadin-button.html">
<link rel="import" href="../../../vaadin-lumo-styles/icons.html">
<link rel="import" href="../../../iron-icon/iron-icon.html">

<custom-style>
<style include="lumo-typography lumo-color">
Expand Down Expand Up @@ -67,4 +68,4 @@ <h2>Types</h2>
<span>Icon suffix</span>
<iron-icon slot="suffix" icon="lumo:arrow-right"></iron-icon>
</vaadin-button>
</body>
</body>

0 comments on commit 18786d3

Please sign in to comment.