UI Testing: Slider fails to adjust when nested in Table View Cell
Originator: | huapapojt | ||
Number: | rdar://35024797 | Date Originated: | 10/17/2017 |
Status: | Open | Resolved: | - |
Product: | Developer Tool | Product Version: | Xcode 9 |
Classification: | Serious Bug | Reproducible: | Always |
Summary: Interacting with `UISlider`with `adjust(toNormalizedSliderPosition:)` does not work at all when `UISlider`is nested in a `UITableViewCell`. I have tested in many different scenarios: - Normal `UISlider`s not embedded in a `UITableView` work fine with the `adjust` method. - `UISlider` that co-exists with a `UITableView` but not inside a Table View Cell continues to work with `adjust` - `UISlider` in a `UITableView` can be uniquely identified. - `UISlider` identified in a `UITableView` can respond to simple event like `tap()` - `UISlider` identified in a `UITableView` doesn't work with `adjust` method at all, even when I modify the number of rows to 1. The error message is: ``` Failure fetching attributes for element pid: 24415, elementOrHash.elementID: 106102876671744.43: Error Domain=XCTDaemonErrorDomain Code=13 "Fetching value for attribute 5011 returned AX error -25205." UserInfo={NSLocalizedDescription=Fetching value for attribute 5011 returned AX error -25205.} ``` Related discussion I found online: https://forums.developer.apple.com/thread/77445 Steps to Reproduce: 1. Open my attached Xcode. 2. Run UI tests I wrote. I use iPhone 8 Plus running iOS 11.0 simulator. Expected Results: `adjust` for `UISlider` should work when embedded in a Table View Cell. I haven't tried, but it should also work when embedded in any other views, like Collection View Cell too. Actual Results: `adjust` for `UISlider` always fails when embedded in a Table View Cell. Version/Build: Xcode 9.0 (9A235) Configuration: MBP mid-2014 macOS High Sierra 10.13
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!