summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/tb3/WebsocketTest.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-11-14 09:38:05 +0200
committerArtur Signell <artur@vaadin.com>2013-11-15 15:41:02 +0200
commit642818fef200429d4206403e98aabd54ff3b6dd8 (patch)
tree216a71ba5d292a594d6cbc32226a8bec921b1c83 /uitest/src/com/vaadin/tests/tb3/WebsocketTest.java
parent33e58977c266c3b5846bb2edc5e673359768ed2e (diff)
downloadvaadin-framework-642818fef200429d4206403e98aabd54ff3b6dd8.tar.gz
vaadin-framework-642818fef200429d4206403e98aabd54ff3b6dd8.zip
Allow using @RunLocally to run on a local Firefox/Chrome/Safari
Change-Id: Ibb1dfd12dc48637d8179f80322b5203ea5562805
Diffstat (limited to 'uitest/src/com/vaadin/tests/tb3/WebsocketTest.java')
-rw-r--r--uitest/src/com/vaadin/tests/tb3/WebsocketTest.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/tb3/WebsocketTest.java b/uitest/src/com/vaadin/tests/tb3/WebsocketTest.java
index 26fef667cd..e9ef11957c 100644
--- a/uitest/src/com/vaadin/tests/tb3/WebsocketTest.java
+++ b/uitest/src/com/vaadin/tests/tb3/WebsocketTest.java
@@ -25,6 +25,8 @@ import java.util.List;
import org.openqa.selenium.remote.DesiredCapabilities;
+import com.vaadin.tests.tb3.MultiBrowserTest.Browser;
+
/**
* A {@link MultiBrowserTest} which restricts the tests to the browsers which
* support websocket
@@ -35,8 +37,8 @@ public abstract class WebsocketTest extends PrivateTB3Configuration {
private static List<DesiredCapabilities> websocketBrowsers = new ArrayList<DesiredCapabilities>();
static {
websocketBrowsers.addAll(MultiBrowserTest.getAllBrowsers());
- websocketBrowsers.remove(BrowserUtil.ie(8));
- websocketBrowsers.remove(BrowserUtil.ie(9));
+ websocketBrowsers.remove(Browser.IE8.getDesiredCapabilities());
+ websocketBrowsers.remove(Browser.IE9.getDesiredCapabilities());
}
/**