Browse Source

Fix static lifecycle events e2e on iOS

Now iOS e2e is legitimately broken :)
Guy Carmeli 6 years ago
parent
commit
067906fdb0

+ 1
- 1
e2e/StaticLifecycleEvents.test.js View File

@@ -9,7 +9,7 @@ describe('Overlay', () => {
9 9
 
10 10
   it.skip('didAppear didDisappear', async () => {
11 11
     await elementById(testIDs.PUSH_STATIC_LIFECYCLE_BUTTON).tap();
12
-    await expect(elementByLabel('Static Lifecycle Events')).toBeVisible();
12
+    await expect(elementByLabel('Static Lifecycle Events Overlay')).toBeVisible();
13 13
     await expect(elementByLabel('didAppear | navigation.playground.StaticLifecycleOverlay')).toBeVisible();
14 14
     await elementByLabel('PUSH').tap();
15 15
     await expect(elementByLabel('didAppear | navigation.playground.PushedScreen')).toBeVisible();

+ 1
- 1
playground/src/screens/StaticLifecycleOverlay.js View File

@@ -26,7 +26,7 @@ class StaticLifecycleOverlay extends Component {
26 26
       ));
27 27
     return (
28 28
       <View style={styles.root}>
29
-        <Text style={styles.h1}>{`Static Lifecycle Events`}</Text>
29
+        <Text style={styles.h1}>{`Static Lifecycle Events Overlay`}</Text>
30 30
         <View style={styles.events}>
31 31
           {events}
32 32
         </View>