simmy189 / android-test-kit

Automatically exported from code.google.com/p/android-test-kit
0 stars 0 forks source link

Unable to switch on EditText overflowed by auto-complete view #132

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create layout with 2 fields: AutoCompleteTextView and EditText
2. Type text in AutoCompleteTextView with auto-complete view appearing (It's 
not hided automatically after text input completed)
3. Switch on EditText field using "onView" and type text.

What is the expected output? What do you see instead?
Trying to "click" on EditText espresso clicked on auto-complete view, which 
overlaid EditText. Input field didn't switch and both texts will have inputed 
in first field.

What version of the product are you using? On what operating system?
Espresso 2.0, android 4.4.2

Original issue reported on code.google.com by alexey.p...@gmail.com on 10 Feb 2015 at 12:08

GoogleCodeExporter commented 9 years ago
Please try using onView(...).inWindow(...) to target the window you want to 
work with.

Original comment by vale...@google.com on 16 Mar 2015 at 7:20