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