Skip to content

Commit 39aec2c

Browse files
authored
Merge pull request #184 from AppDevNext/FixBlackResumeTestScreenshot
Fix black screenshot in resume test
2 parents d7ce308 + b2189a5 commit 39aec2c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

sample/src/androidTest/java/info/hannes/logcat/ToFileTest.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ class ToFileTest {
3838
recycler.check(ViewAssertions.matches(isDisplayed()))
3939

4040
recycler.check(RecyclerViewItemCountAssertion(2, MatchOperator.GRATER_EQUAL))
41+
42+
// Screenshot is too fast. It generates black screens
43+
Thread.sleep(300)
4144
Screenshot.takeScreenshot("End")
4245
}
4346

0 commit comments

Comments
 (0)