UITest Class with multiple tests falsely fail on iPod 6 and iPhone 5s but work in the simulator

Originator:spidersoft.apps
Number:rdar://23925560 Date Originated:12/16/2015
Status:Open Resolved:
Product:XCode Product Version:Version 7.2 (7C68)
Classification:Defect Reproducible:100%
 
I created a single view app. Added a single button to the view. Created two very rudimentary tests, see attached file. The run fine in the simulator but the second test always fails on real hardware (iPhone 5s and iPod 6) . The error give is "unknown"

Steps to Reproduce:
1) Create single view app
  a) create separate testing scheme for uitesting
2) Add a single button
3) Go to uitesting module. record a single tap on the button
4) Added XCTAssert(true) to the test
5) run test, it passes
6) duplicate test by cutting and pasting, rename test
7) run tests again, second test fails.
8) run failing test alone, it passes.
9) run as group it fails

Expected Results:
Running test together should pass 

Actual Results:
second test fails

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!