blob: 030a114948fbf7b1023793b7b4862b5f8b0bbf3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
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());
}
}
|