summaryrefslogtreecommitdiffstats
path: root/tests/testbench/com/vaadin/tests/tickets/Ticket34.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testbench/com/vaadin/tests/tickets/Ticket34.java')
-rw-r--r--tests/testbench/com/vaadin/tests/tickets/Ticket34.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testbench/com/vaadin/tests/tickets/Ticket34.java b/tests/testbench/com/vaadin/tests/tickets/Ticket34.java
index 15d55ba643..67db77a5af 100644
--- a/tests/testbench/com/vaadin/tests/tickets/Ticket34.java
+++ b/tests/testbench/com/vaadin/tests/tickets/Ticket34.java
@@ -95,7 +95,7 @@ public class Ticket34 extends Application.LegacyApplication {
public void buttonClick(ClickEvent event) {
String viewName = tf.getValue().toString();
// fragmentChangedListener will change the view if possible
- event.getButton().getRoot().getPage().setFragment(viewName);
+ event.getButton().getUI().getPage().setFragment(viewName);
}
});