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