12345678910111213141516171819202122232425262728293031 |
- package com.vaadin.tests.components.popupview;
-
- import static org.junit.Assert.assertTrue;
-
- import org.junit.Before;
- import org.junit.Ignore;
- import org.junit.Test;
- import org.openqa.selenium.WebElement;
-
- import com.vaadin.testbench.By;
- import com.vaadin.tests.tb3.MultiBrowserTest;
-
- public class PopUpViewInTabsheetTest extends MultiBrowserTest {
-
- @Before
- public void testPopupView() {
- openTestURL();
- }
-
- @Test
- @Ignore("Fix was based on TabSheet reattach hack, test broken by #10988")
- public void testPopUpNotVisisble() {
- WebElement view = findElement(By.className("v-popupview"));
- view.click();
- assertTrue(
- findElement(By.className("v-popupview-popup")).isDisplayed());
- findElement(By.id("tab1")).click();
- findElement(By.id("tab0")).click();
- assertTrue(findElements(By.className("v-popupview-popup")).isEmpty());
- }
- }
|