From 7b5a003fd329378072d1470b16acc93e5cff254a Mon Sep 17 00:00:00 2001 From: Ruben Sousa Date: Sun, 28 Jan 2024 02:17:36 +0100 Subject: [PATCH] Increase scroll count to ensure ViewHolder clearance --- .../dpadrecyclerview/compose/DpadComposeViewHolderTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dpadrecyclerview-compose/src/androidTest/java/com/rubensousa/dpadrecyclerview/compose/DpadComposeViewHolderTest.kt b/dpadrecyclerview-compose/src/androidTest/java/com/rubensousa/dpadrecyclerview/compose/DpadComposeViewHolderTest.kt index 0d32465c..0c09d7d8 100644 --- a/dpadrecyclerview-compose/src/androidTest/java/com/rubensousa/dpadrecyclerview/compose/DpadComposeViewHolderTest.kt +++ b/dpadrecyclerview-compose/src/androidTest/java/com/rubensousa/dpadrecyclerview/compose/DpadComposeViewHolderTest.kt @@ -152,7 +152,7 @@ class DpadComposeViewHolderTest { @Test fun testCompositionIsClearedWhenViewHolderIsRecycled() { - repeat(5) { + repeat(10) { KeyEvents.pressDown() waitForIdleScroll() }