deco = DOM.createDiv();
- addStyleDependentName("loading"); // Indicate initial progress
tb.setStyleName(CLASSNAME + "-tabs");
DOM.setElementProperty(contentNode, "className", CLASSNAME + "-content");
DOM.setElementProperty(deco, "className", CLASSNAME + "-deco");
*/
package com.vaadin.tests.components.tabsheet;
+import org.junit.Assert;
import org.junit.Test;
+import org.openqa.selenium.By;
+import org.openqa.selenium.WebElement;
import com.vaadin.tests.tb3.MultiBrowserTest;
compareScreen("empty");
}
+ @Test
+ public void emptyTabSheetValo() {
+ openTestURL("theme=valo");
+
+ WebElement deco = getDriver().findElement(
+ By.className("v-tabsheet-deco"));
+
+ Assert.assertEquals("none", deco.getCssValue("display"));
+ }
+
}