12345678910111213141516171819202122232425262728293031 |
- 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");
- }
-
- }
|