brettchabot

Results 73 comments of brettchabot

Please give espresso 3.6.0-alpha01 a try. It still uses jarjar to rename dagger, but guava has been removed entirely.

This should be fixed in espresso 3.5.0

I'd recommend trying androidTestImplementation ('androidx.test.espresso:espresso-contrib:3.4.0'){ exclude group: '[com.google.android.apps.common.testing.accessibility.framework', module: 'accessibility-test-framework]' } As pointed out earlier, the protobuf dependency is brought in transitively via com.google.android.apps.common.testing.accessibility.framework. This dependency is only needed for...

FWIW I did some testing using the sample posted earlier: https://github.com/asavill/esspresso_alert_dialog_issue Interestingly this sample (with espresso 3.1.1) can repro the problem 100% on an API 29 emulator, but the test...

@lsuski do you mind providing more details how you are monitoring for dialog enter animation? I know Instrumentation.startActivitySync has logic to wait for activity animations to complete (which ActivityScenario now...

This line of code also in Instrumentation.startActivitySync seems potentially relevant: https://cs.android.com/android/platform/superproject/+/master:frameworks/base/core/java/android/app/Instrumentation.java;drc=0f9ea02be099947968936258e1f0746a43470a7c;l=568 Unfortunately I don't see a way of calling that outside of the android framework either on API 29. API...

Thanks for the details, interesting approach. Correct me if I'm wrong but that solution appears to be essentially a conditional sleep, set to the value of animation duration. I realize...

Sorry for the lack of response here. If you're still having issues can you file a bug here https://issuetracker.google.com/issues/new?component=192731? androidx.test.uiautomator is not homed in this repository

Can you provide more details? What versions of the libraries are you using, ideally a complete sample project. We have many passing tests that target and run on android U

Can you post a sample project that repros this issue? Otherwise, I fear this issue won't be actionable