Daniel Zlotin 8 years ago
parent
commit
5f49788777
2 changed files with 6 additions and 2 deletions
  1. 0
    1
      playground/e2e/init.js
  2. 6
    1
      playground/scripts/e2e.ios.js

+ 0
- 1
playground/e2e/init.js View File

@@ -6,7 +6,6 @@ const detoxConfig = require('../package.json').detox;
6 6
 detoxConfig['ios-simulator'].app = process.env.detoxAppBuildPath;
7 7
 
8 8
 before(function(done) {
9
-  this.timeout(30000);
10 9
   detox.config(detoxConfig);
11 10
   detox.start(done);
12 11
 });

+ 6
- 1
playground/scripts/e2e.ios.js View File

@@ -29,7 +29,12 @@ function e2e() {
29 29
     shellUtils.exec.kill(`detox-server`);
30 30
     shellUtils.exec.exec(`./node_modules/.bin/detox-server > ./detox-server.log 2>&1`);
31 31
     const detoxAppBuildPath = `ios/DerivedData/playground/Build/Products/${release ? 'Release' : 'Debug'}_Detox-iphonesimulator/playground.app`;
32
-    shellUtils.exec.execSync(`detoxAppBuildPath="${detoxAppBuildPath}" BABEL_ENV=test ./node_modules/mocha/bin/mocha e2e --recursive --compilers js:babel-register`);
32
+    shellUtils.exec.execSync(`detoxAppBuildPath="${detoxAppBuildPath}" 
33
+    BABEL_ENV=test 
34
+    ./node_modules/mocha/bin/mocha e2e 
35
+    --timeout 120000 
36
+    --recursive 
37
+    --compilers js:babel-register`);
33 38
   } finally {
34 39
     shellUtils.exec.kill(`detox-server`);
35 40
     if (release) {