Comments (3)
Are you stubbing the Intent?
(pressBack() is not a good idea, do not go that way!)
And please don't use this issue tracker, it's just for issues related to the site.
from android-test.
Yes, Am facing the same.
from android-test.
I've worked around this issue by using UiDevice.pressBack() to exit whatever activity or chooser has been presented. Note that you have to use UiDevice and not Espresso's pressBack method in order to interact with a component that is not part of your app's process.
from android-test.
Related Issues (20)
- Tasks not cleaned up after `ActivityScenario.launch` HOT 6
- Crash: NoSuchMethodError (handleException) in Kotlin.coroutines.CoroutineExceptionHandler in android.test.tools.crawler HOT 2
- Support minification with better consumer proguard rules HOT 3
- androidx.test:runner uses junit 4.12 whic his affected by CVE-2020-15250 HOT 2
- Connect to my electronic victimizers HOT 1
- Android Test Report Merging Not Working HOT 2
- Espresso's `ViewActions.click()` appears to be flaky HOT 5
- Can't start implicit `Intent` from `ActivityScenario#launchActivityForResult` when targeting API 34 HOT 4
- Espresso ViewActions.swipeRight doesn't work for ViewPager2 on device with API 32+ HOT 1
- Unresolved reference: FragmentScenarioEmptyFragmentActivityTheme HOT 1
- Instrumentation command failed with non zero exit code when use Gradle Managed Devices HOT 1
- Feature Request: Support fail-fast for AndroidJUnitRunner HOT 3
- NoMethodFound crashes with new beta01 releases HOT 2
- View and Compose based testing does not work well together HOT 3
- Compose does not work with automatic accessibility testing HOT 1
- Cannot fingerprint input property 'compileVersionMap': value '...' cannot be serialized. HOT 2
- Updating to Espresso 3.6.0 breaks Instrumentation tests, again.
- Update to androidx.test.ext:junit:1.2.0 and androidx.test.espresso:3.6.0 io.mockk.proxy.MockKAgentException error occurred HOT 2
- androidx.test.espresso:espresso-core 3.6.0 - Didn't find class "androidx.test.platform.concurrent.DirectExecutor" HOT 15
- java.lang.NoSuchMethodError: No static method forceEnableAppTracing()V in class Landroidx/tracing/Trace HOT 10
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.