summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/test/java/com/vaadin/tests/components/grid/DateFieldHeaderScrollWithFrozenTest.java1
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();