diff options
author | Anna Koskinen <Ansku@users.noreply.github.com> | 2021-03-04 13:00:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-04 13:00:04 +0200 |
commit | 46b5bf4a12f99499054b78f746ec7b31ecfe0308 (patch) | |
tree | 02eafd14fb4f81c081d221dd4b4884d57e863a0a /uitest | |
parent | 32764eca8071683693cc3899ac1ff0e663dc415e (diff) | |
download | vaadin-framework-46b5bf4a12f99499054b78f746ec7b31ecfe0308.tar.gz vaadin-framework-46b5bf4a12f99499054b78f746ec7b31ecfe0308.zip |
Add a delay to a flaky test. (#12216)
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/test/java/com/vaadin/tests/components/grid/DateFieldHeaderScrollWithFrozenTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/components/grid/DateFieldHeaderScrollWithFrozenTest.java b/uitest/src/test/java/com/vaadin/tests/components/grid/DateFieldHeaderScrollWithFrozenTest.java index c934bee2a0..8d8b3e8382 100644 --- a/uitest/src/test/java/com/vaadin/tests/components/grid/DateFieldHeaderScrollWithFrozenTest.java +++ b/uitest/src/test/java/com/vaadin/tests/components/grid/DateFieldHeaderScrollWithFrozenTest.java @@ -24,6 +24,7 @@ public class DateFieldHeaderScrollWithFrozenTest extends MultiBrowserTest { GridCellElement frozenElement = gridElement.getHeaderCell(1, 1); gridElement.getHorizontalScroller().scrollLeft(60); + sleep(100); // wait for scrolling to finish int buttonRight = buttonElement.getLocation().getX() + buttonElement.getRect().getWidth(); |