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.

GridClientDataChangeHandlerTest.java 679B

12345678910111213141516171819202122232425
  1. package com.vaadin.tests.components.grid;
  2. import static org.junit.Assert.assertFalse;
  3. import org.junit.Test;
  4. import com.vaadin.testbench.elements.NotificationElement;
  5. import com.vaadin.testbench.parallel.TestCategory;
  6. import com.vaadin.tests.tb3.SingleBrowserTest;
  7. @TestCategory("grid")
  8. public class GridClientDataChangeHandlerTest extends SingleBrowserTest {
  9. @Test
  10. public void testNoErrorsOnGridInit() throws InterruptedException {
  11. setDebug(true);
  12. openTestURL();
  13. // Wait for delayed functionality.
  14. sleep(1000);
  15. assertFalse("Unexpected exception is visible.",
  16. $(NotificationElement.class).exists());
  17. }
  18. }