aboutsummaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/navigator/NavigatorTest.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/navigator/NavigatorTest.java b/uitest/src/com/vaadin/tests/navigator/NavigatorTest.java
index ef9130a2b1..4986bd21e6 100644
--- a/uitest/src/com/vaadin/tests/navigator/NavigatorTest.java
+++ b/uitest/src/com/vaadin/tests/navigator/NavigatorTest.java
@@ -104,7 +104,7 @@ public class NavigatorTest extends UI {
@Override
protected void init(WrappedRequest req) {
try {
- navi = new Navigator(naviLayout);
+ navi = new Navigator(this, naviLayout);
navi.addView("", new DefaultView());
@@ -113,7 +113,8 @@ public class NavigatorTest extends UI {
navi.addView("forbidden", new ForbiddenView());
navi.addViewChangeListener(new NaviListener());
- // navi.navigate();
+
+ navi.navigate();
addComponent(new NaviButton("list"));
addComponent(new NaviButton("edit"));