Browse Source

fix flaky e2e

Daniel Zlotin 7 years ago
parent
commit
1151017193
3 changed files with 488 additions and 324 deletions
  1. 487
    317
      package-lock.json
  2. 1
    2
      playground/src/containers/ModalScreen.js
  3. 0
    5
      playground/src/containers/TextScreen.js

+ 487
- 317
package-lock.json
File diff suppressed because it is too large
View File


+ 1
- 2
playground/src/containers/ModalScreen.js View File

@@ -49,8 +49,7 @@ class ModalScreen extends Component {
49 49
         passProps: {
50 50
           modalPosition: this.getModalPosition() + 1,
51 51
           previousModalIds: _.concat([], this.props.previousModalIds || [], this.props.containerId)
52
-        },
53
-        orientation: ['landscape']
52
+        }
54 53
       }
55 54
     });
56 55
   }

+ 0
- 5
playground/src/containers/TextScreen.js View File

@@ -6,11 +6,6 @@ const { View, Text, Button } = require('react-native');
6 6
 const Navigation = require('react-native-navigation');
7 7
 
8 8
 class TextScreen extends Component {
9
-  static get navigationOptions() {
10
-    return {
11
-      orientation: ['landscape']
12
-    };
13
-  }
14 9
 
15 10
   render() {
16 11
     return (