aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/test/java/com/vaadin/tests/components/table/TableChildMeasurementHintTest.java
blob: 71fc40d49cff7c6468ac5e1c3a4672eb9c154993 (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
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 TableChildMeasurementHintTest extends MultiBrowserTest {

    @Test
    public void testCacheSize() throws IOException {

        openTestURL();

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

        compareScreen("initial");

        $(ButtonElement.class).get(1).click();

        compareScreen("initial");

        $(ButtonElement.class).get(2).click();

        compareScreen("initial");
    }

}