Espressoは通常、 onView(mathers) によってビューの取得を行います。一方で、 Adapterview 系のレイアウトでは、レイアウトの要素は実行時に動的に作られます。その場合、 onView では、その動的に作られた要素をちゃんと取得することができないようです。
その場合は、 onData が提供されているので、それを使うことで代替します。
参考: https://developer.android.com/intl/ja/tools/testing-support-library/index.html
ちなみに、 android.support.test.espresso.contrib がespresso-core以外でライブラリとして提供されているのですが、そこでは RecyclerViewActions が定義されています。中を読んでみると、このViewは onView で要素を取得して、それに対してactionしてねと書いてます。なるほど。
少し凝った使い方は公式でも用意されているので、参考になるかもしれません。
https://google.github.io/android-testing-support-library/docs/espresso/advanced/index.html