diff options
author | Sauli Tähkäpää <sauli@vaadin.com> | 2014-11-23 14:16:02 +0200 |
---|---|---|
committer | Sauli Tähkäpää <sauli@vaadin.com> | 2014-12-09 12:15:10 +0200 |
commit | f6ff9172302d89fedd96ce3506a6e1739af5ff6c (patch) | |
tree | bab657b4f95d69610da2bf31a7bf18cc902b261b /uitest | |
parent | 0cdaf28d282134413910971cdeb7ed71cacdc6e3 (diff) | |
download | vaadin-framework-f6ff9172302d89fedd96ce3506a6e1739af5ff6c.tar.gz vaadin-framework-f6ff9172302d89fedd96ce3506a6e1739af5ff6c.zip |
Fix opacity for disabled links in Valo. (#15253)
Change-Id: I865526499a6d55a835758f0194a977c36c10304a
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/com/vaadin/tests/themes/valo/ButtonsAndLinks.java | 5 | ||||
-rw-r--r-- | uitest/src/com/vaadin/tests/themes/valo/ValoThemeUITest.java | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/uitest/src/com/vaadin/tests/themes/valo/ButtonsAndLinks.java b/uitest/src/com/vaadin/tests/themes/valo/ButtonsAndLinks.java index e66cd2668b..9ed48896eb 100644 --- a/uitest/src/com/vaadin/tests/themes/valo/ButtonsAndLinks.java +++ b/uitest/src/com/vaadin/tests/themes/valo/ButtonsAndLinks.java @@ -178,6 +178,11 @@ public class ButtonsAndLinks extends VerticalLayout implements View { link.setIcon(testIcon.get()); link.addStyleName("large"); row.addComponent(link); + + link = new Link("Disabled", new ExternalResource("https://vaadin.com")); + link.setIcon(testIcon.get()); + link.setEnabled(false); + row.addComponent(link); } @Override diff --git a/uitest/src/com/vaadin/tests/themes/valo/ValoThemeUITest.java b/uitest/src/com/vaadin/tests/themes/valo/ValoThemeUITest.java index 92cb837b38..a826d9a8f2 100644 --- a/uitest/src/com/vaadin/tests/themes/valo/ValoThemeUITest.java +++ b/uitest/src/com/vaadin/tests/themes/valo/ValoThemeUITest.java @@ -39,7 +39,7 @@ public class ValoThemeUITest extends MultiBrowserTest { public void buttonsLinks() throws Exception { openTestURL("test"); open("Buttons & Links", "Buttons"); - compareScreen("buttonsLinks"); + compareScreen("buttonsLinks_with_disabled"); } @Test |