summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2012-09-24 11:47:48 +0300
committerJohn Ahlroos <john@vaadin.com>2012-09-24 11:47:48 +0300
commitce0113c0122b631c080b75bf1fe6de0f6667b035 (patch)
treef765c4fd45cf9d249285a48281d1c4c5943d9825
parentf9df64d3e490d0fa28d6f8fe31b0237009535804 (diff)
downloadvaadin-framework-ce0113c0122b631c080b75bf1fe6de0f6667b035.tar.gz
vaadin-framework-ce0113c0122b631c080b75bf1fe6de0f6667b035.zip
Revert "Do not add an empty description label to test case if testcase"
Brakes some tests depending on the DOM path. Reverting this and fixing the screenshots instead. #8294 This reverts commit bd576ade92607669fa7806fed18e90789027a80d.
-rw-r--r--uitest/src/com/vaadin/tests/components/TestBase.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/uitest/src/com/vaadin/tests/components/TestBase.java b/uitest/src/com/vaadin/tests/components/TestBase.java
index 265c74df59..3260c52003 100644
--- a/uitest/src/com/vaadin/tests/components/TestBase.java
+++ b/uitest/src/com/vaadin/tests/components/TestBase.java
@@ -14,11 +14,9 @@ public abstract class TestBase extends AbstractTestCase {
setMainWindow(window);
window.getContent().setSizeFull();
- if (getDescription() != null) {
- Label label = new Label(getDescription(), ContentMode.HTML);
- label.setWidth("100%");
- window.getContent().addComponent(label);
- }
+ Label label = new Label(getDescription(), ContentMode.HTML);
+ label.setWidth("100%");
+ window.getContent().addComponent(label);
layout = new VerticalLayout();
window.getContent().addComponent(layout);