Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grey_setPickerColumnToValue action does not work for SwiftUI Picker #1685

Open
ileon12 opened this issue Jan 11, 2022 · 1 comment
Open

grey_setPickerColumnToValue action does not work for SwiftUI Picker #1685

ileon12 opened this issue Jan 11, 2022 · 1 comment

Comments

@ileon12
Copy link

ileon12 commented Jan 11, 2022

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

Xcode: 13.2.1
Device: iPhone 7 plus (iOS 15.1)

Appreciate any help.

@adil-hussain-84
Copy link

This is related to issue #1679. The existing matchers in EarlGrey work for UIKit views only and I can't figure out right now how to write custom actions and matchers for SwiftUI views.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants