]> source.dussan.org Git - vaadin-framework.git/commitdiff
Add RefreshCloseConnectionTest to push test category.
authorSauli Tähkäpää <sauli@vaadin.com>
Thu, 18 Sep 2014 11:44:35 +0000 (14:44 +0300)
committerVaadin Code Review <review@vaadin.com>
Fri, 19 Sep 2014 05:44:28 +0000 (05:44 +0000)
Change-Id: Ic18452ade4fa8930db92a7a8e693ad33d8f823cd

uitest/src/com/vaadin/tests/push/RefreshCloseConnectionTest.java

index c5c6064555e0ed37d36faa7dff3e47a4bc5b741b..ef461ab0daddc580f6f8294915bfc3144989c852 100644 (file)
@@ -17,6 +17,7 @@ package com.vaadin.tests.push;
 
 import java.util.List;
 
+import com.vaadin.tests.annotations.TestCategory;
 import org.junit.Assert;
 import org.junit.Test;
 import org.openqa.selenium.remote.DesiredCapabilities;
@@ -24,10 +25,12 @@ import org.openqa.selenium.remote.DesiredCapabilities;
 import com.vaadin.tests.tb3.MultiBrowserTest;
 import com.vaadin.tests.tb3.WebsocketTest;
 
+@TestCategory("push")
 public class RefreshCloseConnectionTest extends MultiBrowserTest {
+
     @Test
     public void testSessionRefresh() {
-        openTestURL();
+        openTestURL("restartApplication");
 
         Assert.assertEquals("1. Init", getLogRow(0));