Espresso Idling Resource for RecyclerView Data Changes
I was having a problem with using Android Espresso to test a RecyclerView when it’s data was updated.This is for an Android app where a list of contacts is displayed by a RecyclerView. There is a SearchView in the action bar that can filter the contacts list to display matching contact names.The Espresso test ran like this:Start the activity.Espresso verifies that the full list of contacts is...