diff options
author | Guillermo Alvarez <guillermo@vaadin.com> | 2014-10-20 14:40:38 +0300 |
---|---|---|
committer | Sauli Tähkäpää <sauli@vaadin.com> | 2014-10-29 09:06:19 +0200 |
commit | 0703f8a74e6dc9d7e63b213ca88a56ee61f81937 (patch) | |
tree | dd6969cf29cf1b9efd150d7c54f4f505fb117431 | |
parent | 3e05fc20e968e8b9a774f3f62c653ca080c7904e (diff) | |
download | vaadin-framework-0703f8a74e6dc9d7e63b213ca88a56ee61f81937.tar.gz vaadin-framework-0703f8a74e6dc9d7e63b213ca88a56ee61f81937.zip |
Added missing test when unframed (#14450)
Now we check closing element is present in unframed tabsheets
Change-Id: If29c1006db0f9267d213b5f063a1c478efe60ea9
-rw-r--r-- | uitest/src/com/vaadin/tests/themes/valo/ValoThemeUITest.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/themes/valo/ValoThemeUITest.java b/uitest/src/com/vaadin/tests/themes/valo/ValoThemeUITest.java index d4ddf2dcf9..b0af0db8c6 100644 --- a/uitest/src/com/vaadin/tests/themes/valo/ValoThemeUITest.java +++ b/uitest/src/com/vaadin/tests/themes/valo/ValoThemeUITest.java @@ -172,6 +172,17 @@ public class ValoThemeUITest extends MultiBrowserTest { } @Test + public void tabsClosableUnframed() throws Exception { + openTestURL("test"); + open("Tabs <span class=\"valo-menu-badge\">123</span>", "Tabs"); + check("Closable"); + // Framed option is checked by default so we are actually unchecking + check("Framed"); + check("Overflow"); + compareScreen("tabs-closable-unframed"); + } + + @Test public void tabsAlignRight() throws Exception { openTestURL("test"); open("Tabs <span class=\"valo-menu-badge\">123</span>", "Tabs"); |