Espresso: ¿Cómo probar SwipeRefreshLayout?

Mi aplicación vuelve a cargar datos cuando se realiza un deslizamiento hacia abajo en unSwipeRefreshLayout. Ahora trato de probar esto con Android Test Kit / Espresso así:

onView(withId(R.id.my_refresh_layout)).perform(swipeDown());

Lamentablemente esto falla con

android.support.test.espresso.PerformException: Error performing 'fast swipe'
on view 'with id: my.app.package:id/my_refresh_layout'.
...
Caused by: java.lang.RuntimeException: Action will not be performed because the target view
does not match one or more of the following constraints:
at least 90 percent of the view's area is displayed to the user.
Target view: "SwipeRefreshLayout{id=2131689751, res-name=my_refresh_layout, visibility=VISIBLE,
width=480, height=672, has-focus=false, has-focusable=true, has-window-focus=true,
is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, 
is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0,
child-count=2}"

Por supuesto, el diseño es visible y el deslizamiento funciona manualmente, pero no estoy seguro de si estoy haciendo algo mal. El diseño abarca toda la pantalla, por lo quedebería Es posible que Espresso pueda hacer algo al respecto.

Respuestas a la pregunta(1)

Su respuesta a la pregunta