summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/push/PushConfigurationWebSocketTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/push/PushConfigurationWebSocketTest.java')
-rw-r--r--uitest/src/com/vaadin/tests/push/PushConfigurationWebSocketTest.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/uitest/src/com/vaadin/tests/push/PushConfigurationWebSocketTest.java b/uitest/src/com/vaadin/tests/push/PushConfigurationWebSocketTest.java
index c9a813fac0..475fa2165f 100644
--- a/uitest/src/com/vaadin/tests/push/PushConfigurationWebSocketTest.java
+++ b/uitest/src/com/vaadin/tests/push/PushConfigurationWebSocketTest.java
@@ -23,7 +23,6 @@ import java.util.List;
import org.junit.Test;
import org.openqa.selenium.remote.DesiredCapabilities;
-import org.openqa.selenium.support.ui.Select;
public class PushConfigurationWebSocketTest extends PushConfigurationTest {
@@ -40,8 +39,8 @@ public class PushConfigurationWebSocketTest extends PushConfigurationTest {
@Test
public void testWebsocket() throws InterruptedException {
- new Select(getTransportSelect()).selectByVisibleText("WEBSOCKET");
- new Select(getPushModeSelect()).selectByVisibleText("AUTOMATIC");
+ getTransportSelect().selectByText("Websocket");
+ getPushModeSelect().selectByText("Automatic");
assertThat(getStatusText(),
containsString("fallbackTransport: long-polling"));