diff options
author | Artur Signell <artur@vaadin.com> | 2014-12-14 15:06:42 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-12-15 08:45:46 +0000 |
commit | f341dac68a5c47049431b5e857e710c6b0d985e0 (patch) | |
tree | c7582620f11f436972ab50cce12008fb89e06f75 /uitest/src/com/vaadin/tests/push/PushConfigurationStreamingTest.java | |
parent | eaa5328054cf197e4c8192dd6c2e2fca37f1589d (diff) | |
download | vaadin-framework-f341dac68a5c47049431b5e857e710c6b0d985e0.tar.gz vaadin-framework-f341dac68a5c47049431b5e857e710c6b0d985e0.zip |
Fix push test broken by new StringToEnumConverter
Change-Id: I76885f3254ec28574ac637905af13cba1a9d2b41
Diffstat (limited to 'uitest/src/com/vaadin/tests/push/PushConfigurationStreamingTest.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/push/PushConfigurationStreamingTest.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/uitest/src/com/vaadin/tests/push/PushConfigurationStreamingTest.java b/uitest/src/com/vaadin/tests/push/PushConfigurationStreamingTest.java index f5c015ad12..202db8d6b7 100644 --- a/uitest/src/com/vaadin/tests/push/PushConfigurationStreamingTest.java +++ b/uitest/src/com/vaadin/tests/push/PushConfigurationStreamingTest.java @@ -15,25 +15,24 @@ */ package com.vaadin.tests.push; -import org.junit.Test; -import org.openqa.selenium.support.ui.Select; - import static org.hamcrest.CoreMatchers.containsString; import static org.hamcrest.MatcherAssert.assertThat; +import org.junit.Test; + public class PushConfigurationStreamingTest extends PushConfigurationTest { @Test public void testStreaming() throws InterruptedException { openDebugLogTab(); - new Select(getTransportSelect()).selectByVisibleText("STREAMING"); + getTransportSelect().selectByText("Streaming"); assertThat(getStatusText(), containsString("fallbackTransport: long-polling")); assertThat(getStatusText(), containsString("transport: streaming")); clearDebugMessages(); - new Select(getPushModeSelect()).selectByVisibleText("AUTOMATIC"); + getPushModeSelect().selectByText("Automatic"); waitForDebugMessage("Push connection established using streaming", 10); waitForServerCounterToUpdate(); |