aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/test/java/com/vaadin/tests/extensions/ResponsiveUITest.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/test/java/com/vaadin/tests/extensions/ResponsiveUITest.java')
-rw-r--r--uitest/src/test/java/com/vaadin/tests/extensions/ResponsiveUITest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/extensions/ResponsiveUITest.java b/uitest/src/test/java/com/vaadin/tests/extensions/ResponsiveUITest.java
index 7287372adb..8e0faa31d6 100644
--- a/uitest/src/test/java/com/vaadin/tests/extensions/ResponsiveUITest.java
+++ b/uitest/src/test/java/com/vaadin/tests/extensions/ResponsiveUITest.java
@@ -71,6 +71,7 @@ public class ResponsiveUITest extends MultiBrowserTest {
@Test
public void testResizingWindowReflowsLayout() throws Exception {
openTestURL();
+ waitUntilLoadingIndicatorNotVisible();
assertEquals("401px-600px",
$(".v-csslayout-grid.first").getAttribute("width-range"));
@@ -78,6 +79,7 @@ public class ResponsiveUITest extends MultiBrowserTest {
$(".v-csslayout-grid.second").getAttribute("width-range"));
testBench().resizeViewPortTo(1224, 768);
+ waitUntilLoadingIndicatorNotVisible();
assertEquals("601-800",
$(".v-csslayout-grid.first").getAttribute("width-range"));
@@ -85,6 +87,7 @@ public class ResponsiveUITest extends MultiBrowserTest {
$(".v-csslayout-grid.second").getAttribute("width-range"));
testBench().resizeViewPortTo(674, 768);
+ waitUntilLoadingIndicatorNotVisible();
assertEquals("201px-400px",
$(".v-csslayout-grid.first").getAttribute("width-range"));