blob: cd28863d2d62078889afde412361cf4c35acf9a3 (
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
25
26
27
28
29
30
31
|
package com.vaadin.tests.components.table;
import java.io.IOException;
import org.junit.Test;
import org.openqa.selenium.WebElement;
import com.vaadin.testbench.By;
import com.vaadin.testbench.commands.TestBenchElementCommands;
import com.vaadin.tests.tb3.MultiBrowserTest;
public class TableTooManyColumnsTest extends MultiBrowserTest {
@Test
public void testDropdownTable() throws IOException {
openTestURL();
WebElement element = findElement(
By.className("v-table-column-selector"));
element.click();
WebElement menu = findElement(By.className("gwt-MenuBar-vertical"));
TestBenchElementCommands scrollable = testBenchElement(menu);
scrollable.scroll(3000);
compareScreen("init");
}
}
|