We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0630b01 commit 4aeb1c7Copy full SHA for 4aeb1c7
1 file changed
sample/src/androidTest/java/info/hannes/logcat/LogcatTest.kt
@@ -32,9 +32,9 @@ class LogcatTest {
32
@Test
33
fun basicLogcatTest() {
34
onView(allOf(withContentDescription("Logcat"), withParent(withId(R.id.action_bar)), isDisplayed()))
35
- Screenshot.takeScreenshot("Step1")
+
36
WaitingAssertion.checkAssertion(R.id.log_recycler, isDisplayed(), 1500)
37
- Screenshot.takeScreenshot("Step2")
+ Screenshot.takeScreenshot("Step1")
38
onView(withId(R.id.log_recycler)).check(RecyclerViewItemCountAssertion(15, MatchOperator.GRATER_EQUAL))
39
Screenshot.takeScreenshot("End")
40
}
0 commit comments