blob: d8951a049783e0f51c8da3d166fcdbf0442e3468 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package com.vaadin.tests.components.table;
import java.io.IOException;
import org.junit.Test;
import com.vaadin.testbench.elements.TableElement;
import com.vaadin.tests.tb3.MultiBrowserTest;
public class TableScrollsOnSelectionTest extends MultiBrowserTest {
@Test
public void tableIsNotScrolledOnSelect() throws IOException {
openTestURL();
TableElement table = $(TableElement.class).first();
scrollTable(table, 80, 79);
table.getCell(79, 0).click();
compareScreen("scrolled-down");
}
}
|