UI Testing adjustToPickerWheelValue doesn’t work for date pickers under zh-Hans environment

Originator:liu.dongyuan
Number:rdar://23405354 Date Originated:04-Nov-2015 05:33 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 7.2 beta (7C46t)
Classification:Other Bug Reproducible:Always
 
Summary:
UI Testing adjustToPickerWheelValue doesn't work for date pickers under zh-Hans environment

Steps to Reproduce:
1. Clone https://github.com/xhacker/radar.git
2. Open the sample project in UITestingDatePicker folder
3. Run UI Testing

Expected Results:
The test should pass.

Actual Results:
It failed.

Notes:
adjustToPickerWheelValue works for date pickers under English environment. But under zh-Hans, its value is ‘(null)’ for some reasons.

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!