summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2016-10-25 18:27:20 +0300
committerAleksi Hietanen <aleksi@vaadin.com>2016-10-28 06:39:22 +0000
commite22ca2af047391e62195d2d3f07217ead8d88dd6 (patch)
tree2421ab68c3c03db1b0c74fca744944d4aeeea862 /uitest
parentafd35d9534f3baa8cafcfb35f3bd70dbbb2e59b2 (diff)
downloadvaadin-framework-e22ca2af047391e62195d2d3f07217ead8d88dd6.tar.gz
vaadin-framework-e22ca2af047391e62195d2d3f07217ead8d88dd6.zip
Ensure #cell[N] always scrolls row N into view (#20423)
Change-Id: I99347ee1d0f2f13fcb8e110d2e7192590e4f9456
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/server/GridScrollTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/server/GridScrollTest.java b/uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/server/GridScrollTest.java
index fbd36f87f9..815d6f72a6 100644
--- a/uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/server/GridScrollTest.java
+++ b/uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/server/GridScrollTest.java
@@ -68,4 +68,10 @@ public class GridScrollTest extends GridBasicFeaturesTest {
active);
}
+ @Test
+ public void scrollIntoViewThroughSubPart() {
+ openTestURL("theme=valo");
+ GridElement grid = $(GridElement.class).first();
+ assertEquals("(10, 0)", grid.getCell(10, 0).getText());
+ }
}