-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
click(id) doesn't work when multiple views in the hierarchy #68
Comments
Hi @MarinaTov ! It seems that Espresso is trying to express the idea that multiple Views has the ID you're trying to click. So, it doesn't know what View is the View you want to click. To fix the issue, we have different options there:
Let me keep this question open to track if the answer helps you fixing it! :·) |
version 1.0.1 resolved problem |
You're welcome! :·) |
Hi, I'm getting id/phoneEditText' matches multiple views in the hierarchy. Problem views are marked with 'MATCHES' below. |
How can we just interact with id ? like id/phoneEditText[0] - is that possible ? |
When I click
close_button
:I get error
android.support.test.espresso.AmbiguousViewMatcherException: 'with id: com.schibsted.android.rocket.kufar.debug:id/close_button' matches multiple views in the hierarchy. Problem views are marked with '****MATCHES****' below.
The text was updated successfully, but these errors were encountered: