From befc1070ab2850f9ebf8c6f1b565ccdefb9c199d Mon Sep 17 00:00:00 2001 From: Anna Koskinen Date: Fri, 5 Mar 2021 13:17:52 +0200 Subject: [PATCH] Add delays to a flaky test class. (#12209) (#12225) --- .../com/vaadin/tests/components/grid/GridEditRowTest.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/uitest/src/test/java/com/vaadin/tests/components/grid/GridEditRowTest.java b/uitest/src/test/java/com/vaadin/tests/components/grid/GridEditRowTest.java index 331c6c7f11..044cff0a4f 100644 --- a/uitest/src/test/java/com/vaadin/tests/components/grid/GridEditRowTest.java +++ b/uitest/src/test/java/com/vaadin/tests/components/grid/GridEditRowTest.java @@ -67,6 +67,8 @@ public class GridEditRowTest extends MultiBrowserTest { assertRowContents(0); waitForElementVisible(By.className("v-grid-editor")); + // wait for position corrections + sleep(100); assertEditorWithinGrid(); } @@ -80,6 +82,8 @@ public class GridEditRowTest extends MultiBrowserTest { editLastRow(); waitForElementVisible(By.className("v-grid-editor")); + // wait for position corrections + sleep(100); assertRowContents(3); assertEditorWithinGrid(); @@ -94,6 +98,8 @@ public class GridEditRowTest extends MultiBrowserTest { editLastRow(); waitForElementVisible(By.className("v-grid-editor")); + // wait for position corrections + sleep(100); assertRowContents(91); assertEditorWithinGrid(); -- 2.39.5