'Unable to tap the time in inline DatePicker with XCTestCase
Not working
In UTTests I'm not able to tap the DatePicker when it is in compact mode and the date picker mode is set to time, as shown here:
picker.preferredDatePickerStyle = .compact
picker.datePickerMode = .time
Working
I've found that every other date picker mode works, except .time for taping in a UITest. You can see the datePickerMode's that are working:
picker.datePickerMode = .date // Works
picker.datePickerMode = .dateAndTime // Works
Conclusion
I think it's a bug, any suggestions would help. I have already tried using the tap function with coordinates. It didn't work
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|



