blob: 00d1ab0a89c0b68f0b5d412484c024689fd6e826 (
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
32
33
|
package com.vaadin.tests.components.table;
import java.io.IOException;
import org.junit.Test;
import com.vaadin.testbench.TestBenchElement;
import com.vaadin.testbench.elements.TableElement;
import com.vaadin.testbench.elements.CheckBoxElement;
import com.vaadin.tests.tb3.MultiBrowserTest;
public class HeaderUpdateWhenNoRowsTest extends MultiBrowserTest {
@Test
public void testFooter() throws IOException {
openTestURL();
TableElement table = $(TableElement.class).first();
TestBenchElement header0 = table.getHeaderCell(0);
header0.click();
compareScreen("headerVisible");
$(CheckBoxElement.class).first().click();
compareScreen("headerHidden");
$(CheckBoxElement.class).first().click();
compareScreen("headerVisible2");
}
}
|