summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/push/PushConfigurationStreamingTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/push/PushConfigurationStreamingTest.java')
-rw-r--r--uitest/src/com/vaadin/tests/push/PushConfigurationStreamingTest.java22
1 files changed, 4 insertions, 18 deletions
diff --git a/uitest/src/com/vaadin/tests/push/PushConfigurationStreamingTest.java b/uitest/src/com/vaadin/tests/push/PushConfigurationStreamingTest.java
index 8dc960c9ac..0861e618a2 100644
--- a/uitest/src/com/vaadin/tests/push/PushConfigurationStreamingTest.java
+++ b/uitest/src/com/vaadin/tests/push/PushConfigurationStreamingTest.java
@@ -27,33 +27,19 @@ import org.openqa.selenium.support.ui.Select;
public class PushConfigurationStreamingTest extends PushConfigurationTest {
- @Override
- public List<DesiredCapabilities> getBrowsersToTest() {
- List<DesiredCapabilities> browsers = super.getBrowsersToTest();
-
- browsers.remove(Browser.IE8.getDesiredCapabilities());
-
- return browsers;
- }
-
@Test
public void testStreaming() throws InterruptedException {
openDebugLogTab();
new Select(getTransportSelect()).selectByVisibleText("STREAMING");
- new Select(getPushModeSelect()).selectByVisibleText("AUTOMATIC");
-
assertThat(getStatusText(),
containsString("fallbackTransport: long-polling"));
assertThat(getStatusText(), containsString("transport: streaming"));
- waitForServerCounterToUpdate();
+ clearDebugMessages();
+ new Select(getPushModeSelect()).selectByVisibleText("AUTOMATIC");
- // Use debug console to verify we used the correct transport type
- assertThat(
- driver.getPageSource(),
- not(containsString("Push connection established using websocket")));
- assertThat(driver.getPageSource(),
- containsString("Push connection established using streaming"));
+ waitForDebugMessage("Push connection established using streaming", 10);
+ waitForServerCounterToUpdate();
}
}