From ce0113c0122b631c080b75bf1fe6de0f6667b035 Mon Sep 17 00:00:00 2001 From: John Ahlroos Date: Mon, 24 Sep 2012 11:47:48 +0300 Subject: 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. --- uitest/src/com/vaadin/tests/components/TestBase.java | 8 +++----- 1 file 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); -- cgit v1.2.3