File tree Expand file tree Collapse file tree
sample/src/androidTest/java/info/hannes/logcat Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ import androidx.test.filters.SdkSuppress
99import androidx.test.rule.GrantPermissionRule
1010import com.moka.lib.assertions.WaitingAssertion
1111import com.moka.utils.Screenshot
12- import info.hannes.logcat.utils.MatchOperator
13- import info.hannes.logcat.utils.RecyclerViewItemCountAssertion
1412import org.hamcrest.Matchers.allOf
1513import org.junit.Rule
1614import org.junit.Test
@@ -35,7 +33,8 @@ class LogcatTest {
3533
3634 WaitingAssertion .checkAssertion(R .id.log_recycler, isDisplayed(), 1500 )
3735 Screenshot .takeScreenshot(" Step1" )
38- onView(withId(R .id.log_recycler)).check(RecyclerViewItemCountAssertion (15 , MatchOperator .GRATER_EQUAL ))
36+ // TODO Moka 0.8 comes with assertRecyclerAdapterItemsCount()
37+ WaitingAssertion .assertAdapterMinimumItemsCount(R .id.log_recycler, 15 , 1500 )
3938 Screenshot .takeScreenshot(" End" )
4039 }
4140
You can’t perform that action at this time.
0 commit comments