blob: 5babbae75b311638efe68bf2113196c8aa2e342b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package com.vaadin.tests.declarative;
import org.junit.Test;
import com.vaadin.testbench.By;
import com.vaadin.testbench.elements.GridElement;
import com.vaadin.tests.tb3.MultiBrowserTest;
public class DeclarativeGridTest extends MultiBrowserTest {
@Test
public void testMergedHeaderCell() {
openTestURL();
waitForElementPresent(By.className("v-label"));
// ensure the grid gets loaded and has the merged header
GridElement grid = $(GridElement.class).first();
grid.getHeaderCellByCaption("Project and Status");
}
}
|