]> source.dussan.org Git - vaadin-framework.git/commitdiff
Make GridPopupViewTest more stable
authorHenri Sara <hesara@vaadin.com>
Wed, 17 May 2017 10:38:35 +0000 (13:38 +0300)
committerHenri Sara <henri.sara@gmail.com>
Wed, 17 May 2017 11:48:46 +0000 (14:48 +0300)
uitest/src/test/java/com/vaadin/tests/components/grid/GridPopupViewTest.java

index 06169337a5faadf1cc703beb2300b6ff5c30e7ac..658ed8e1d59fed88b0b6cc9625d85d0cdfdcd308 100644 (file)
@@ -50,7 +50,7 @@ public class GridPopupViewTest extends MultiBrowserTest {
             Assert.assertEquals(500, rect.width);
             Assert.assertEquals(38, rect.height);
             findElement(By.className("v-ui")).click();
-            Assert.assertTrue($(GridElement.class).all().isEmpty());
+            waitForElementNotPresent(By.className("v-grid"));
         }
 
     }