Browse Source

Additional work addressing flaky e2e

Guy Carmeli 6 years ago
parent
commit
9dd0c2e3aa

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

@@ -2,7 +2,7 @@ const Utils = require('./Utils');
2 2
 const testIDs = require('../playground/src/testIDs');
3 3
 const { elementByLabel, elementById } = Utils;
4 4
 
5
-describe.only('static lifecycle events', () => {
5
+describe('static lifecycle events', () => {
6 6
   beforeEach(async () => {
7 7
     await device.relaunchApp();
8 8
   });

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

@@ -56,10 +56,9 @@ class StaticLifecycleOverlay extends Component {
56 56
   return (
57 57
     <TouchableOpacity
58 58
       style={styles.dismissBtn}
59
-      testID={testIDs.DISMISS_BUTTON}
60 59
       onPress={() => Navigation.dismissOverlay(this.props.componentId)}
61 60
     >
62
-      <Text style={{ color: 'red', alignSelf: 'center' }}>X</Text>
61
+      <Text testID={testIDs.DISMISS_BUTTON} style={{ color: 'red', alignSelf: 'center' }}>X</Text>
63 62
     </TouchableOpacity>
64 63
   );
65 64
   }