.findElements(By.tagName("tr"));
assertEquals("unexpected cached row count", 46, rows.size());
// TODO: replace these with just treeTable.scroll(int) when #13826 has
// been fixed
TestBenchElementCommands scrollable = testBenchElement(treeTable
.findElement(By.className("v-scrollable")));
// scroll far enough down to drop the first row from the cache
// but not far enough to reach the last row
scrollable.scroll(1692);
// wait for the scrollposition element to disappear
waitUntilNot(ExpectedConditions.visibilityOfElementLocated(By
.className("v-table-scrollposition")));
assertEquals("elements found where there should be none", 0, treeTable
.findElements(By.vaadin("#row[0]/col[0]")).size());
assertEquals("elements found where there should be none", 0, treeTable
.findElements(By.vaadin("#row[203]/col[0]")).size());
// scroll 6000 to make sure to actually hit bottom
scrollable.scroll(6000);
// wait for the scrollposition element to disappear
waitUntilNot(ExpectedConditions.visibilityOfElementLocated(By
.className("v-table-scrollposition")));