aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/test/java/com/vaadin/tests/components/table/TableVisibleColumnsUpdateTest.java
blob: f2ad2beb8e8c1fcbb435e21ac5c6c09e36d4ac5e (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 com.vaadin.testbench.elements.ButtonElement;
import com.vaadin.tests.tb3.MultiBrowserTest;

public class TableVisibleColumnsUpdateTest extends MultiBrowserTest {

    @Test
    public void testFooter() throws IOException {
        openTestURL();

        compareScreen("first");

        $(ButtonElement.class).first().click();

        compareScreen("second");

        $(ButtonElement.class).first().click();

        compareScreen("first2");

        $(ButtonElement.class).first().click();

        compareScreen("second2");

    }
}