Xcode UI Tests screenshots break on scaled iOS Simulator

Originator:hannes.oud.dev
Number:rdar://23323159 Date Originated:29.10.2015
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode Version 7.1 (7B91b)
Classification:Other Bug Reproducible:Always
 
When running UI tests with a scaled iPhone 6s Plus simulator, the screenshots automatically taken by Xcode are incompletely rendered and show artifacts.

Steps to reproduce:
1. Open the Example project
2. Run the UI Tests target on an iPhone 6s plus simulator, scaled to 50%
3. Open the test report in the Xcode report navigator
4. Open quicklook on a few screenshots

Expected Results:
The screenshots should look properly (like attached 100%.png)

Actual Results
The screenshots have weird artifacts in the navigation bar and don't  show parts of the content (see attached 50%.png)

Configuration:
iPhone 6s plus simulator on MacBook Pro 15" Retina

Version & Build:
Xcode Version 7.1 (7B91b)

Additional Notes:
workaround: set the simulator to 100%

Comments

Demo project and screenshots

https://www.dropbox.com/s/z8qg7xkq8ajgbnx/xcode7.1uitests-BugDemo.zip?dl=0

By hannes.oud.dev at Oct. 29, 2015, 10:36 p.m. (reply...)

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!