瀏覽代碼

fix flaky e2e

Daniel Zlotin 6 年之前
父節點
當前提交
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,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 查看文件

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