You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DeclarativeGridTest.java 572B

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