Skip to content

Commit

Permalink
Add delays to a flaky test class. (#12209) (#12225)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansku authored Mar 5, 2021
1 parent 5b79292 commit befc107
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ public void testEditWhenAllRowsVisible() {
assertRowContents(0);

waitForElementVisible(By.className("v-grid-editor"));
// wait for position corrections
sleep(100);

assertEditorWithinGrid();
}
Expand All @@ -80,6 +82,8 @@ public void testEditWhenSomeRowsNotVisible() {
editLastRow();

waitForElementVisible(By.className("v-grid-editor"));
// wait for position corrections
sleep(100);

assertRowContents(3);
assertEditorWithinGrid();
Expand All @@ -94,6 +98,8 @@ public void testEditWhenSomeRowsOutsideOfCache() {
editLastRow();

waitForElementVisible(By.className("v-grid-editor"));
// wait for position corrections
sleep(100);

assertRowContents(91);
assertEditorWithinGrid();
Expand Down

0 comments on commit befc107

Please sign in to comment.