diff options
author | Artur Signell <artur@vaadin.com> | 2013-09-27 13:14:36 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-09-27 11:56:48 +0000 |
commit | b235d9c4e166197f3369694feec8d8f12a93c49d (patch) | |
tree | 76b219ff9d3128988013bfb64cc7a56fee54f536 /uitest/src/com/vaadin/tests/push/PushFromInit.java | |
parent | a5795f346e077268eb77edef09d902fba57d5804 (diff) | |
download | vaadin-framework-b235d9c4e166197f3369694feec8d8f12a93c49d.tar.gz vaadin-framework-b235d9c4e166197f3369694feec8d8f12a93c49d.zip |
Refactor how TB3 tests are written (#12572)
* openTestUrl() must be called in the beginning of each test. Before that setPush and setDebug can be used to determine whether /run-push or ?debug should be used in the URL
Change-Id: Ie70996fcbdb2769fcd4ec56cb878e20198e02bf6
Diffstat (limited to 'uitest/src/com/vaadin/tests/push/PushFromInit.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/push/PushFromInit.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/push/PushFromInit.java b/uitest/src/com/vaadin/tests/push/PushFromInit.java index 000d5c0bce..de3334f707 100644 --- a/uitest/src/com/vaadin/tests/push/PushFromInit.java +++ b/uitest/src/com/vaadin/tests/push/PushFromInit.java @@ -28,6 +28,8 @@ public class PushFromInit extends AbstractTestUIWithLog { public static class PushFromInitTB3 extends MultiBrowserTest { @Test public void testPushFromInit() { + openTestURL(); + for (int second = 0;; second++) { if (second >= 30) { Assert.fail("timeout"); |