aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/test/java/com/vaadin/tests/extensions/ResponsiveWidthAndHeightTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/test/java/com/vaadin/tests/extensions/ResponsiveWidthAndHeightTest.java')
-rw-r--r--uitest/src/test/java/com/vaadin/tests/extensions/ResponsiveWidthAndHeightTest.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/extensions/ResponsiveWidthAndHeightTest.java b/uitest/src/test/java/com/vaadin/tests/extensions/ResponsiveWidthAndHeightTest.java
index 9dc32dff2a..8cab44a915 100644
--- a/uitest/src/test/java/com/vaadin/tests/extensions/ResponsiveWidthAndHeightTest.java
+++ b/uitest/src/test/java/com/vaadin/tests/extensions/ResponsiveWidthAndHeightTest.java
@@ -41,9 +41,8 @@ public class ResponsiveWidthAndHeightTest extends MultiBrowserTest {
openTestURL();
// IE sometimes has trouble waiting long enough.
- new WebDriverWait(getDriver(), 30)
- .until(ExpectedConditions.presenceOfElementLocated(
- By.cssSelector(".v-csslayout-width-and-height")));
+ waitUntil(ExpectedConditions.presenceOfElementLocated(
+ By.cssSelector(".v-csslayout-width-and-height")), 30);
// Verify both width-range and height-range.
assertEquals("600px-",