-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from vaadin/fix/enable-visual-tests
Enable visual tests with Lumo
- Loading branch information
Showing
48 changed files
with
384 additions
and
280 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
rootUrl: http://localhost:8080/components/vaadin-button/test/visual/ | ||
gridUrl: http://localhost:4444/wd/hub | ||
screenshotsDir: ./test/visual/screens | ||
|
||
system: | ||
plugins: | ||
polyserve: | ||
port: 8080 | ||
sauce: true | ||
|
||
browsers: | ||
chrome: | ||
desiredCapabilities: | ||
browserName: "chrome" | ||
version: "61.0" | ||
platform: "Windows 10" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<!DOCTYPE html> | ||
|
||
<head lang="en"> | ||
<meta charset="UTF-8"> | ||
|
||
<script src="../../../webcomponentsjs/webcomponents-lite.js"></script> | ||
<link rel="import" href="../../vaadin-button.html"> | ||
|
||
<custom-style> | ||
<style include="lumo-typography lumo-color"> | ||
body { | ||
margin: 2em; | ||
} | ||
</style> | ||
</custom-style> | ||
|
||
</head> | ||
|
||
<body> | ||
<h2>Colors</h2> | ||
|
||
Contrast: | ||
|
||
<vaadin-button theme="primary contrast"> | ||
<span>Button</span> | ||
</vaadin-button> | ||
|
||
<vaadin-button theme="contrast"> | ||
<span>Button</span> | ||
</vaadin-button> | ||
|
||
<vaadin-button theme="tertiary contrast"> | ||
<span>Button</span> | ||
</vaadin-button> | ||
|
||
|
||
<br>Success: | ||
|
||
<vaadin-button theme="primary success"> | ||
<span>Button</span> | ||
</vaadin-button> | ||
|
||
<vaadin-button theme="success"> | ||
<span>Button</span> | ||
</vaadin-button> | ||
|
||
<vaadin-button theme="tertiary success"> | ||
<span>Button</span> | ||
</vaadin-button> | ||
|
||
<br>Error: | ||
|
||
<vaadin-button theme="primary error"> | ||
<span>Button</span> | ||
</vaadin-button> | ||
|
||
<vaadin-button theme="error"> | ||
<span>Button</span> | ||
</vaadin-button> | ||
|
||
<vaadin-button theme="tertiary error"> | ||
<span>Button</span> | ||
</vaadin-button> | ||
|
||
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<!DOCTYPE html> | ||
|
||
<head lang="en"> | ||
<meta charset="UTF-8"> | ||
|
||
<script src="../../../webcomponentsjs/webcomponents-lite.js"></script> | ||
<link rel="import" href="../../vaadin-button.html"> | ||
<link rel="import" href="../../../vaadin-lumo-styles/icons.html"> | ||
|
||
<custom-style> | ||
<style include="lumo-typography lumo-color"> | ||
body { | ||
margin: 2em; | ||
} | ||
</style> | ||
</custom-style> | ||
|
||
</head> | ||
|
||
<body> | ||
<h2>Icons and size presets</h2> | ||
|
||
<vaadin-button aria-label="Icon-only button" theme="large icon"> | ||
<iron-icon slot="prefix" icon="lumo:plus"></iron-icon> | ||
</vaadin-button> | ||
|
||
<vaadin-button theme="large"> | ||
<iron-icon slot="prefix" icon="lumo:edit"></iron-icon> | ||
<span>Icon prefix</span> | ||
</vaadin-button> | ||
|
||
<vaadin-button theme="large"> | ||
<span>Icon suffix</span> | ||
<iron-icon slot="suffix" icon="lumo:arrow-right"></iron-icon> | ||
</vaadin-button> | ||
|
||
<vaadin-button aria-label="Icon-only button" theme="icon"> | ||
<iron-icon slot="prefix" icon="lumo:plus"></iron-icon> | ||
</vaadin-button> | ||
|
||
<vaadin-button> | ||
<iron-icon slot="prefix" icon="lumo:edit"></iron-icon> | ||
<span>Icon prefix</span> | ||
</vaadin-button> | ||
|
||
<vaadin-button> | ||
<span>Icon suffix</span> | ||
<iron-icon slot="suffix" icon="lumo:arrow-right"></iron-icon> | ||
</vaadin-button> | ||
|
||
<vaadin-button aria-label="Icon-only button" theme="small icon"> | ||
<iron-icon slot="prefix" icon="lumo:plus"></iron-icon> | ||
</vaadin-button> | ||
|
||
<vaadin-button theme="small"> | ||
<iron-icon slot="prefix" icon="lumo:edit"></iron-icon> | ||
<span>Icon prefix</span> | ||
</vaadin-button> | ||
|
||
<vaadin-button theme="small"> | ||
<span>Icon suffix</span> | ||
<iron-icon slot="suffix" icon="lumo:arrow-right"></iron-icon> | ||
</vaadin-button> | ||
</body> |
Oops, something went wrong.