|
@@ -2,7 +2,6 @@ package com.reactnativenavigation.e2e.androide2e;
|
2
|
2
|
|
3
|
3
|
import android.support.test.uiautomator.By;
|
4
|
4
|
|
5
|
|
-import org.junit.Ignore;
|
6
|
5
|
import org.junit.Test;
|
7
|
6
|
|
8
|
7
|
public class ScreenStackTest extends BaseTest {
|
|
@@ -18,7 +17,6 @@ public class ScreenStackTest extends BaseTest {
|
18
|
17
|
}
|
19
|
18
|
|
20
|
19
|
@Test
|
21
|
|
- @Ignore
|
22
|
20
|
public void popScreenDeepInTheStack() throws Exception {
|
23
|
21
|
launchTheApp();
|
24
|
22
|
assertMainShown();
|
|
@@ -27,5 +25,9 @@ public class ScreenStackTest extends BaseTest {
|
27
|
25
|
assertExists(By.text("Stack Position: 1"));
|
28
|
26
|
elementByText("PUSH").click();
|
29
|
27
|
assertExists(By.text("Stack Position: 2"));
|
|
28
|
+ elementByText("Pop Previous").click();
|
|
29
|
+ assertExists(By.text("Stack Position: 2"));
|
|
30
|
+ elementByText("Pop").click();
|
|
31
|
+ assertMainShown();
|
30
|
32
|
}
|
31
|
33
|
}
|