Page MenuHomePhabricator

[EspressoTest] Implementation of Idling Resources
Closed, DeclinedPublic2 Estimated Story Points

Description

Reference: https://developer.android.com/training/testing/espresso/idling-resource.html

It would be better if we can implement the idling resource in our code to wait for the responses. (e.g. Network responses, view animations...etc)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

In our current master branch, it will have error messages if implements either com.android.support.test.espresso:espresso-core:$espressoVersion or com.android.support.test.espresso:espresso-idling-resource:$espressoVersion in the gradle.

To implement the Idling Resources methods, we need to implement the library above to use the methods in our code. I've tried to implement it in a small project and it works, but it did not work on our project.

Would like to move this ticket to blocked/waiting and wait for discussion.

Update: The issue above was from the IDE itself. Reinstall the Android Studio 3.1 and the library can be added successfully.