You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SelectAllRowsShiftFirstTest.java 524B

123456789101112131415161718192021
  1. package com.vaadin.tests.components.table;
  2. import java.util.List;
  3. import org.openqa.selenium.WebElement;
  4. /**
  5. * Test to see if all items of the table can be selected by pressing shift and
  6. * selecting the first row, and then press shift then select last row (#13483)
  7. *
  8. * @author Vaadin Ltd
  9. */
  10. public class SelectAllRowsShiftFirstTest extends SelectAllRowsTest {
  11. @Override
  12. protected void clickFirstRow() {
  13. List<WebElement> rows = getVisibleTableRows();
  14. shiftClickElement(rows.get(0));
  15. }
  16. }