XCUI tests loss of connection with device

I had problems running some tests on real devices using the new XCUI Test in Xcode 7. I wrote a simple monkey tester that performs various interactions with our application in 10 minutes. This works great using simulators, but using real devices, it loses connection with the device after about 3-6 minutes, and the following messages appear in the logs:

"Observed tracker termination for xxxxx token to launch xxxx"

To find the problem, I checked the test, just to sit and sleep for 10 minutes, it works great. Then I introduced wipes every 5 seconds, and immediately the connection problem reappears

I tried all the obvious fixes, such as different devices, different machines, different cables, etc.

Any help is greatly appreciated

+5
source share

Source: https://habr.com/ru/post/1233134/


All Articles