Browse Source

try fix travis

Daniel Zlotin 6 years ago
parent
commit
33e0bb9a70
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      scripts/test.e2e.ios.js

+ 2
- 2
scripts/test.e2e.ios.js View File

@@ -10,12 +10,12 @@ function run() {
10 10
     const conf = release ? `release` : `debug`;
11 11
     exec.execSync(`detox build --configuration ios.sim.${conf}`);
12 12
 
13
+    startRecording();
14
+
13 15
     setTimeout(() => {
14 16
       exec.execAsync(`open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app`);
15 17
     }, 1000);
16 18
 
17
-    startRecording();
18
-
19 19
     exec.execSync(`detox test --configuration ios.sim.${conf} ${process.env.CI ? '--cleanup' : ''}`);
20 20
   } finally {
21 21
     stopRecording();