Comments (4)
I'm having trouble reproducing this issue (see #2205). Am I missing something?
oops I may have spoken too soon.
It looks like just using FLAG_IMMUTABLE may fix this. I'm going to do more testing
from android-test.
Can you try androidx.test:core:1.6.0-alpha05? I believe this issue is fixed there
from android-test.
I'm still seeing the issue with the following dependency setup:
androidTestImplementation 'androidx.test.ext:junit:1.2.0-alpha03'
androidTestImplementation 'androidx.test:core-ktx:1.6.0-alpha05'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.0-alpha03'
androidTestImplementation 'androidx.test.espresso:espresso-intents:3.6.0-alpha03'
(I also had to add debugImplementation("androidx.tracing:tracing:1.2.0")
to work around #1755).
I've confirmed with the debugger that I'm hitting the new version of InstrumentationActivityInvoker.startActivityForResult
:
![Screenshot 2024-04-16 at 10 20 00](https://private-user-images.githubusercontent.com/556280/322784832-11a99fdd-9e2f-47a9-a614-3405763de680.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTc5NDQ1NTgsIm5iZiI6MTcxNzk0NDI1OCwicGF0aCI6Ii81NTYyODAvMzIyNzg0ODMyLTExYTk5ZmRkLTllMmYtNDdhOS1hNjE0LTM0MDU3NjNkZTY4MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYwOVQxNDQ0MThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mZTk5YzZjOGQ2ZWFiMTc1NDg1NWVjYjhlYWVlZTIxYTM5ZjRmZjI5MWEzNWViMWMxYjM4NmFmNWViYjM0MzZiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.XpyppC4wQEazhvHAfNxrOF-uXoBdghOSDOGiST6JIeo)
from android-test.
I'm having trouble reproducing this issue (see #2205). Am I missing something?
from android-test.
Related Issues (20)
- java.lang.ClassNotFoundException: Didn't find class "org.easymock.IArgumentMatcher" on path HOT 1
- ActivityScenario "close()" doesn't work as expected HOT 3
- Feature request: improve error message when Espresso `Intent` matching fails due to mismatched `Intent` `data`
- launchFragmentInContainer does not work with MenuProvider HOT 1
- Orchestrator sometimes runs all the instances of a parameterized test in the same process
- Allow recording Espresso tests when app has native code HOT 3
- Synchronization capabilities: allow to wait for a View or Fragment to exist HOT 1
- 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
- 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
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.