UI tests fail in Xcode bot with error "UI Testing Failure - App state is still not terminated"
Asked Answered
R

0

10

I am running UI tests in a single Xcode bot. The bots are run on a separate computer which is only used for this task and nothing else. The tests start running fine at first, but after several successful runs they start all failing with this error.

UI Testing Failure - App state is still not terminated

After the first test fails with this error - all tests after it fail as well. The only cure I found is to restart the server computer. How can I prevent this error?

OS X 10.11 (15A263e), Xcode 7.0 (7A192o), OS X Server 5.0.1 (15S2235)

Rhizotomy answered 27/8, 2015 at 23:46 Comment(6)
Have you find the solution for this?I need a solution but i couldnt get it from anywhereGranite
No I have not found a solution, but I have sent a bug report to Apple, let us hope it will be fixed soon.Rhizotomy
@Rhizotomy Any update from Apple on this?Ockham
@LironYahdav nothing yet, still waiting for Apple's responseRhizotomy
I am having the same issue specially after updating to Xcode 7.2(7C68). There no updates from Apple's side forums.developer.apple.com/thread/13234 . Currently, The issue is less to happen when I am testing on Simulator iPhone 6 (iOS 9.2). But It is more frequent to happen when I perform UI Testing on Real DeviceNightlong
Try the way mentioned here https://mcmap.net/q/618647/-ui-test-fails-when-it-types-text-into-a-text-view-when-run-by-an-xcode-bot?rq=1Salientian

© 2022 - 2024 — McMap. All rights reserved.