aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/test/java/com/vaadin/tests/components/table/SelectAllRowsShiftFirstTest.java
blob: e1a984eb73abf3695fcc5bc05a794c39c4138c87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.vaadin.tests.components.table;

import java.util.List;

import org.openqa.selenium.WebElement;

/**
 * Test to see if all items of the table can be selected by pressing shift and
 * selecting the first row, and then press shift then select last row (#13483)
 *
 * @author Vaadin Ltd
 */
public class SelectAllRowsShiftFirstTest extends SelectAllRowsTest {

    @Override
    protected void clickFirstRow() {
        List<WebElement> rows = getVisibleTableRows();
        shiftClickElement(rows.get(0));
    }

}