|
@@ -12,9 +12,7 @@ function run() {
|
12
|
12
|
|
13
|
13
|
startRecording();
|
14
|
14
|
|
15
|
|
- setTimeout(() => {
|
16
|
|
- exec.execAsync(`open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app`);
|
17
|
|
- }, 1000);
|
|
15
|
+ exec.execAsync(`open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app`);
|
18
|
16
|
|
19
|
17
|
exec.execSync(`detox test --configuration ios.sim.${conf} ${process.env.CI ? '--cleanup' : ''}`);
|
20
|
18
|
} finally {
|
|
@@ -39,5 +37,5 @@ function stopRecording() {
|
39
|
37
|
json.version = `0.0.${Date.now()}`;
|
40
|
38
|
require('fs').writeFileSync('./package.json', JSON.stringify(json, null, 2), { encoding: 'utf-8' });
|
41
|
39
|
exec.execSync(`npm run release`);
|
42
|
|
- }, 300000);
|
|
40
|
+ }, 30000);
|
43
|
41
|
}
|