|
@@ -40,7 +40,7 @@ function hasXcpretty() {
|
40
|
40
|
}
|
41
|
41
|
}
|
42
|
42
|
|
43
|
|
-function e2e() {
|
|
43
|
+function e2e() { //eslint-disable-line
|
44
|
44
|
try {
|
45
|
45
|
shellUtils.exec.execSync(`echo 'travis_fold:start:detox-ios'`);
|
46
|
46
|
shellUtils.exec.execSyncSilent(`watchman watch-del-all || true`);
|
|
@@ -57,6 +57,10 @@ function e2e() {
|
57
|
57
|
} finally {
|
58
|
58
|
shellUtils.exec.execSync(`./scripts/detoxDebugFix.rb`);
|
59
|
59
|
shellUtils.exec.kill(`detox-server`);
|
|
60
|
+ if (process.env.CI) {
|
|
61
|
+ shellUtils.exec.kill(`Simulator`);
|
|
62
|
+ shellUtils.exec.kill(`CoreSimulator`);
|
|
63
|
+ }
|
60
|
64
|
shellUtils.exec.execSync(`cat ./detox-server.log`);
|
61
|
65
|
shellUtils.exec.execSync(`rm -f ./detox-server.log`);
|
62
|
66
|
shellUtils.exec.execSync(`sleep 5`);
|