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

Implement a hamcrest-matcher selector strategy #59

Closed
dpgraham opened this issue Aug 9, 2017 · 0 comments
Closed

Implement a hamcrest-matcher selector strategy #59

dpgraham opened this issue Aug 9, 2017 · 0 comments
Milestone

Comments

@dpgraham
Copy link
Contributor

dpgraham commented Aug 9, 2017

See https://medium.com/google-developers/adapterviews-and-espresso-f4172aa853cf for reference

  • AdapterViews don't render all the items at once
  • To target a View that isn't on the screen, Espresso has a method onData(<matcher>)
  • The matcher is a Hamcrest matcher that matches views
  • Currently, we don't use onData we use onView which only finds elements on the page
  • We need to figure out if we can use onData to target views using currently supported selectors but I also think we should add a broader 'hamcrest matcher' strategy that lets people put in arbitrary hamcrest selection strategies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant