Skip to content

2.2.2

Compare
Choose a tag to compare
@alex-tiurin alex-tiurin released this 31 May 20:29
· 61 commits to master since this release

Inhencments

  1. 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
  1. Add method to perform action on view on Ui Thread.
View.performOnView(action: View.() -> Unit)
  1. Improved ResourceDrawableMatcher, affected methods:
hasDrawable(@DrawableRes resourceId: Int)
hasAnyDrawable()

Thanks @itsergpot