浏览代码

fix flaky e2e

Daniel Zlotin 8 年前
父节点
当前提交
1151017193
共有 3 个文件被更改,包括 488 次插入324 次删除
  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
文件差异内容过多而无法显示
查看文件


+ 1
- 2
playground/src/containers/ModalScreen.js 查看文件

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 查看文件

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 (