Assertion Failure: UI Testing Failure - App state is still not terminated
| Originator: | jesse | ||
| Number: | rdar://23368553 | Date Originated: | 03-Nov-2015 11:23 AM |
| Status: | Open | Resolved: | No |
| Product: | Developer Tools | Product Version: | 7.1/7B91b |
| Classification: | Serious Bug | Reproducible: | Always |
While running UI tests on an iOS simulator with multiple test cases, it's often the case that after a few run of tests, the XCUIApplication() instance is in a stalled state. The app instance is not terminated, therefore, the next test case setUp() is not able to continue, and it produced the assertion failure: Assertion Failure: UI Testing Failure - App state is still not terminated Steps to Reproduce: 1. Try the UITest for the project on github: https://github.com/joemasilotti/UI-Testing-Cheat-Sheet 2. Run the UITests Expected Results: All tests should complete without app state error Actual Results: The tests failed because of app state error
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
@ jesse
I am still seeing this issue with Xcode 7.2. What is the current state of this bug?