Closed technoir42 closed 4 years ago
@jrodbx can you take a look please
Can we please merge this PR? getting crash otherwise.
this PR fixed the issue for me; would be great to be merged in
@technoir42 Fixed the issue for me too. It would be nice if this can be merged ...
Does anyone know why registerIdleTransitionCallback(ResourceCallback)
isn't being called before stopWork()
? Or perhaps it is being called, but with a null
argument?
@jameswald if you install DelegatingIdlingResourceScheduler
but don't use Espresso in an instrumented test or run the app itself without instrumentation, stopWork
will be called but registerIdleTransitionCallback
won't and you'll get NPE.
Please merge this PR
PLEASE MERGE THIS ONE
Пацаны, давайте замержим уже please
@jrodbx is anyone still maintaining this library?
Just another comment asking to get this fix merged.
Debugged the underlying issue with @gamepro65 (thanks to @MerryMaryMaguire's detailed notes) and looks like this fix works, thanks for the contribution!
I filed https://github.com/android/android-test/issues/650 to raise awareness on the behavior change, in case of an unexpected regression in Espresso.
Fixes #20