aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/test/java')
-rw-r--r--uitest/src/test/java/com/vaadin/tests/declarative/DeclarativeGridTest.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/declarative/DeclarativeGridTest.java b/uitest/src/test/java/com/vaadin/tests/declarative/DeclarativeGridTest.java
new file mode 100644
index 0000000000..5babbae75b
--- /dev/null
+++ b/uitest/src/test/java/com/vaadin/tests/declarative/DeclarativeGridTest.java
@@ -0,0 +1,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");
+ }
+}