grey_setPickerColumnToValue action does not work for SwiftUI Picker
- Dominant language
- Objective-C
- Stars
- 5.7k
- Forks
- 737
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 5
Description
Hello!
When trying to select a determined value on a SwiftUI Picker wheel using grey_setPickerColumnToValue(), I get the following error:
"UIPickerView does not contain desired value!"
Even though the value does exist on the picker.
[You can use this sample to reproduce
](https://github.com/ileon12/PickerTestEarlGrey)
**Xcode:** 13.2.1
**Device:** iPhone 7 plus (iOS 15.1)
Appreciate any help.
Contributor guide
Research direction
Start by running the linked PickerTestEarlGrey sample with the reported Xcode 13.2.1 and iOS 15.1 setup, then trace EarlGrey's grey_setPickerColumnToValue action and its "UIPickerView does not contain desired value!" failure. Done means the action selects an existing value on a SwiftUI Picker wheel without raising that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile-dev, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100