Daniel Zlotin 6 jaren geleden
bovenliggende
commit
50cd470c4d
2 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 3
    3
      e2e/StaticLifecycleEvents.test.js
  2. 1
    1
      playground/src/screens/StaticLifecycleOverlay.js

+ 3
- 3
e2e/StaticLifecycleEvents.test.js Bestand weergeven

@@ -2,14 +2,14 @@ const Utils = require('./Utils');
2 2
 const testIDs = require('../playground/src/testIDs');
3 3
 const { elementByLabel, elementById } = Utils;
4 4
 
5
-describe('Overlay', () => {
5
+describe('static lifecycle events', () => {
6 6
   beforeEach(async () => {
7 7
     await device.relaunchApp();
8 8
   });
9 9
 
10
-  it.skip('didAppear didDisappear', async () => {
10
+  it(':android: 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 Bestand weergeven

@@ -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>