From f9966fde8d7e3cd7b4b07b15e6db3f42fa870365 Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Wed, 17 May 2017 13:38:35 +0300 Subject: [PATCH] Make GridPopupViewTest more stable --- .../com/vaadin/tests/components/grid/GridPopupViewTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")); } } -- 2.39.5