|
@@ -7,9 +7,19 @@ import org.junit.Test;
|
7
|
7
|
public class OverlayTest extends BaseTest {
|
8
|
8
|
|
9
|
9
|
@Test
|
10
|
|
- public void testOverlayAlertAppear() throws Exception {
|
|
10
|
+ public void testOverlayInterAlertAppear() throws Exception {
|
11
|
11
|
elementByText("PUSH OPTIONS SCREEN").click();
|
12
|
|
- elementByText("SHOW OVERLAY").click();
|
|
12
|
+ elementByText("SHOW OVERLAY INTER").click();
|
|
13
|
+ assertExists(By.text("Test view"));
|
|
14
|
+ elementByText("OK").click();
|
|
15
|
+ assertExists(By.text("Overlay disappeared"));
|
|
16
|
+ elementByText("OK").click();
|
|
17
|
+ }
|
|
18
|
+
|
|
19
|
+ @Test
|
|
20
|
+ public void testOverlayNotInterAlertAppear() throws Exception {
|
|
21
|
+ elementByText("PUSH OPTIONS SCREEN").click();
|
|
22
|
+ elementByText("SHOW TOUCH THROUGH OVERLAY NOTINTER").click();
|
13
|
23
|
assertExists(By.text("Test view"));
|
14
|
24
|
elementByText("OK").click();
|
15
|
25
|
assertExists(By.text("Overlay disappeared"));
|