|
@@ -8,8 +8,7 @@ import org.junit.Test;
|
8
|
8
|
public class TopLevelApiTest extends BaseTest {
|
9
|
9
|
|
10
|
10
|
@Test
|
11
|
|
- @Ignore
|
12
|
|
- public void switchToTabBasedApp() throws Exception {
|
|
11
|
+ public void switchToTabBasedApp_PassPropsFunction() throws Exception {
|
13
|
12
|
launchTheApp();
|
14
|
13
|
assertMainShown();
|
15
|
14
|
elementByText("SWITCH TO TAB BASED APP").click();
|
|
@@ -47,7 +46,6 @@ public class TopLevelApiTest extends BaseTest {
|
47
|
46
|
elementByText("Push lifecycle screen").click();
|
48
|
47
|
elementByText("onStart!");
|
49
|
48
|
elementByText("BACK").click();
|
50
|
|
- elementByText("onStop");
|
51
|
49
|
elementByText("componentWillUnmount");
|
52
|
50
|
}
|
53
|
51
|
}
|