Test Suite ExampleUITests.xctest started
ExampleUITests
âś— testExample, Application Example is not running
ExampleUITests.ExampleUITests
testExample, Application Example is not running
SnapshotHelper.swift:226
Executed 1 test, with 1 failure (0 unexpected) in 35.061 (35.063) seconds
** TEST FAILED **
[10:05:49]: Exit status: 65
+--------------------+---+
| Test Results |
+--------------------+---+
| Number of tests | 1 |
| Number of failures | 1 |
+--------------------+---+
[!] Tests have failed
It seems Simulator is not loaded. How can I fix it ?
I’m facing the exactly same problem. Locally all UI Tests are running fine (using fastlane scan command) and the simulator is performing the UI Tests as expected. However, CircleCI is not able to run the tests and exit’s with “Exit status: 65” along with the error message “Application X is not running”.
Hi @ftsz, I stopped to use CircleCi because it took me too much time to maintain and whereas I’m alone on the project. But I can share you my config:
I was able to fix the issue on our project by handling system dialogs (location permission, etc) via addUIInterruptionMonitor and adding - run: name: pre-start simulator command: xcrun instruments -w "iPhone 6 (11.3) [" || true
to the Circle CI config file.
Having the same issue where tests run perfectly fine locally but fail on CircleCI. Any luck with a definite fix or determining the cause of this? I have already implemented addUIInterruptionMonitor however I am still seeing the issue.