summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/components/TestBase.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/components/TestBase.java')
-rw-r--r--uitest/src/com/vaadin/tests/components/TestBase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/components/TestBase.java b/uitest/src/com/vaadin/tests/components/TestBase.java
index 08e39f7e6f..b500a1144b 100644
--- a/uitest/src/com/vaadin/tests/components/TestBase.java
+++ b/uitest/src/com/vaadin/tests/components/TestBase.java
@@ -16,10 +16,10 @@ public abstract class TestBase extends AbstractTestCase {
Label label = new Label(getDescription(), ContentMode.HTML);
label.setWidth("100%");
- window.getContent().addComponent(label);
+ window.addComponent(label);
layout = new VerticalLayout();
- window.getContent().addComponent(layout);
+ window.addComponent(layout);
((VerticalLayout) window.getContent()).setExpandRatio(layout, 1);
setup();