Comments (6)
This is currently not possible due to lack of multi-window support.
Dialogs are rendered in separate windows. Espresso has heuristics that allow it
to pick the top window because that is the most likely (and usually the only)
one the user would interact with. This works well for the common case; however,
there are cases when a user is able to interact with more than one window (like
yours). We plan to add multi-window support to address this. Stay tuned.
Original comment by [email protected]
on 5 Nov 2013 at 5:33
from android-test-kit.
Original comment by [email protected]
on 5 Nov 2013 at 7:54
- Changed state: Accepted
from android-test-kit.
Issue 16 has been merged into this issue.
Original comment by [email protected]
on 12 Nov 2013 at 6:25
from android-test-kit.
Issue 20 has been merged into this issue.
Original comment by [email protected]
on 14 Nov 2013 at 6:10
from android-test-kit.
Yup, seeing the same issue here with AutoCompleteTextView like Issue 16:
onView(withId(R.id.autoCompleteInput)).perform(typeText("South"));
onView(withId(R.id.searchButton)).perform(click());
Original comment by [email protected]
on 15 Nov 2013 at 11:43
from android-test-kit.
fixed in 1.1
Original comment by [email protected]
on 9 Jan 2014 at 12:30
- Changed state: Fixed
from android-test-kit.
Related Issues (20)
- Using onData with an overlaid View won't properly click on items
- Getting DexException when running assembleDebugAndroidTest goal second time HOT 6
- Enhancement: FlakyTest for JUnit4/Espresso HOT 2
- MonitoringInstrumentation leaking activity instances through ExecutorService HOT 3
- withText doesn't find views with textAllCaps attribute used HOT 1
- using onData in RecyclerView HOT 4
- Espresso-contrib cannot inflate RecyclerView with IllegalStateException (Unable to find LayoutManager) HOT 5
- Provide API to list tests that will be run
- Add API for adding RunListeners to AndroidJUnitRunner
- getGlobalVisibleRect works differently on API 22
- longClick() becomes Click()
- Accessibility checks fail tests on pre-Lollipop emulators
- pressBack() doesn't call onBackPressed().
- Migration from googlecode?
- Webview support always times out on first test on devices pre Android 4.4 HOT 2
- Having Guava and espresso-web as androidTest dependencies does not compile
- Swipe action on a view pager fails in Espresso tests on Emulator
- NoMatchingViewException leaks Activity
- onData check for non-selectable list headers doesn't work on API 22
- Espresso won't find View when included with androidTestCompile
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-test-kit.