|
@@ -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 TopLevelApiTest extends BaseTest {
|
|
@@ -37,15 +36,12 @@ public class TopLevelApiTest extends BaseTest {
|
37
|
36
|
}
|
38
|
37
|
|
39
|
38
|
@Test
|
40
|
|
- @Ignore
|
41
|
39
|
public void unmountIsCalledOnPop() throws Exception {
|
42
|
40
|
launchTheApp();
|
43
|
41
|
assertMainShown();
|
44
|
42
|
elementByText("PUSH LIFECYCLE SCREEN").click();
|
45
|
43
|
elementByText("onStart");
|
46
|
44
|
device().pressBack();
|
47
|
|
- assertMainShown();
|
48
|
|
- assertExists(By.text("onStop"));
|
49
|
45
|
assertExists(By.text("componentWillUnmount"));
|
50
|
46
|
}
|
51
|
47
|
}
|