Skip to content

Commit befc107

Browse files
authored
Add delays to a flaky test class. (#12209) (#12225)
1 parent 5b79292 commit befc107

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

uitest/src/test/java/com/vaadin/tests/components/grid/GridEditRowTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ public void testEditWhenAllRowsVisible() {
6767
assertRowContents(0);
6868

6969
waitForElementVisible(By.className("v-grid-editor"));
70+
// wait for position corrections
71+
sleep(100);
7072

7173
assertEditorWithinGrid();
7274
}
@@ -80,6 +82,8 @@ public void testEditWhenSomeRowsNotVisible() {
8082
editLastRow();
8183

8284
waitForElementVisible(By.className("v-grid-editor"));
85+
// wait for position corrections
86+
sleep(100);
8387

8488
assertRowContents(3);
8589
assertEditorWithinGrid();
@@ -94,6 +98,8 @@ public void testEditWhenSomeRowsOutsideOfCache() {
9498
editLastRow();
9599

96100
waitForElementVisible(By.className("v-grid-editor"));
101+
// wait for position corrections
102+
sleep(100);
97103

98104
assertRowContents(91);
99105
assertEditorWithinGrid();

0 commit comments

Comments
 (0)