2.2.2
Inhencments
- New extension methods for
Matcher<View>, ViewInteraction, DataInteraction
:
doesNotExistInAnyVisibleRoot()
getView(): View
getViewForcibly(): View //bypass Espresso idling state mechanism
performOnView(action: View.() -> Unit)
performOnViewForcibly(action: View.() -> Unit) //bypass Espresso idling state mechanism
- Add method to perform action on view on Ui Thread.
View.performOnView(action: View.() -> Unit)
- Improved
ResourceDrawableMatcher
, affected methods:
hasDrawable(@DrawableRes resourceId: Int)
hasAnyDrawable()
Thanks @itsergpot