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
         passProps: {
49
         passProps: {
50
           modalPosition: this.getModalPosition() + 1,
50
           modalPosition: this.getModalPosition() + 1,
51
           previousModalIds: _.concat([], this.props.previousModalIds || [], this.props.containerId)
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
 const Navigation = require('react-native-navigation');
6
 const Navigation = require('react-native-navigation');
7
 
7
 
8
 class TextScreen extends Component {
8
 class TextScreen extends Component {
9
-  static get navigationOptions() {
10
-    return {
11
-      orientation: ['landscape']
12
-    };
13
-  }
14
 
9
 
15
   render() {
10
   render() {
16
     return (
11
     return (