From: Henri Sara Date: Wed, 17 May 2017 10:38:35 +0000 (+0300) Subject: Make GridPopupViewTest more stable X-Git-Tag: 8.1.0.beta1~43 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f9966fde8d7e3cd7b4b07b15e6db3f42fa870365;p=vaadin-framework.git Make GridPopupViewTest more stable --- diff --git a/uitest/src/test/java/com/vaadin/tests/components/grid/GridPopupViewTest.java b/uitest/src/test/java/com/vaadin/tests/components/grid/GridPopupViewTest.java index 06169337a5..658ed8e1d5 100644 --- a/uitest/src/test/java/com/vaadin/tests/components/grid/GridPopupViewTest.java +++ b/uitest/src/test/java/com/vaadin/tests/components/grid/GridPopupViewTest.java @@ -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")); } }