123456789101112131415161718192021 |
- package com.vaadin.tests.components.window;
-
- import org.junit.Test;
-
- import com.vaadin.testbench.elements.WindowElement;
- import com.vaadin.testbench.elements.ButtonElement;
- import com.vaadin.tests.tb3.SingleBrowserTest;
-
- public class GridInWindowTest extends SingleBrowserTest {
-
- @Test
- public void ensureAttachInHierachyChange() {
- openTestURL("debug");
- $(ButtonElement.class).first().click();
- assertNoErrorNotifications();
- $(WindowElement.class).first().close();
- assertNoErrorNotifications();
- $(ButtonElement.class).first().click();
- assertNoErrorNotifications();
- }
- }
|