Skip to content

Scrollview with multiple element matched #462

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

Closed
heuism opened this issue Dec 15, 2017 · 5 comments
Closed

Scrollview with multiple element matched #462

heuism opened this issue Dec 15, 2017 · 5 comments

Comments

@heuism
Copy link

heuism commented Dec 15, 2017

image
image

Description

As you can see for the pictures above, I only have 1 id for the scroll view, but then it gives me 4 matchers which is really weird and I have no idea why this one is up.

Steps to Reproduce

I guess it could be the KeyboardAwareScrollView?

Detox, Node, Device, Xcode and macOS Versions

  • Detox: 5.10.0
  • Node: 8.7.0
  • Device: iPhone 7
  • Xcode: 9.1
  • macOS: 10.13.2
@heuism
Copy link
Author

heuism commented Dec 15, 2017

For more information, I can see there is a picker inside of the scrollview. And somehow I think the id is applied for the Picker or something, It just feel weird that I only got 1 picker, but It showed 4 UIPickerTableview that had the same id with the main ScrollView.

@heuism
Copy link
Author

heuism commented Dec 15, 2017

#164 #458 #433 would be similar thread

@heuism
Copy link
Author

heuism commented Dec 15, 2017

image

Okay, it looks like the Picker generate like 3 layers of view for only 1 Picker, I guess that why i gives me 3 duplications for the matcher along with the main scrollview

@heuism
Copy link
Author

heuism commented Dec 15, 2017

I think this was mentioned somewhere else but I cannot recall so I just note down this again.

I saw in the log showed:

ancestorThatMatches((respondsToSelector(accessibilityIdentifier) && accessibilityID('incident_details_screen_scroll_view_')))

why the element which ancestor matches the selector would be considered as satisfied again?

@LeoNatan
Copy link
Contributor

Pickers are an open issue we are yet to address. See #308. Let's track progress on the original issue.

@wix wix locked and limited conversation to collaborators Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants