summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnna Koskinen <Ansku@users.noreply.github.com>2021-03-01 11:08:36 +0200
committerGitHub <noreply@github.com>2021-03-01 11:08:36 +0200
commite858bc8a13c539e1093c4670927e3ccd973981d5 (patch)
tree499dbc7b73acbcc6b34f74d87da3fe4779ce371b
parent61895872c2cce18b70a3151146b64726174610c3 (diff)
downloadvaadin-framework-e858bc8a13c539e1093c4670927e3ccd973981d5.tar.gz
vaadin-framework-e858bc8a13c539e1093c4670927e3ccd973981d5.zip
Add delays to a flaky test class. (#12209)
-rw-r--r--uitest/src/test/java/com/vaadin/tests/components/grid/GridEditRowTest.java6
1 files changed, 6 insertions, 0 deletions
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();