From 03e1a2972ebce60b771838ee986257d19f7045b9 Mon Sep 17 00:00:00 2001 From: Ruben Sousa Date: Wed, 19 Jun 2024 23:07:30 +0200 Subject: [PATCH] Add missing wait for idle scroll --- .../dpadrecyclerview/test/tests/drag/DragHelperGridTest.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/dpadrecyclerview/src/androidTest/kotlin/com/rubensousa/dpadrecyclerview/test/tests/drag/DragHelperGridTest.kt b/dpadrecyclerview/src/androidTest/kotlin/com/rubensousa/dpadrecyclerview/test/tests/drag/DragHelperGridTest.kt index 20fc56d7..87437920 100644 --- a/dpadrecyclerview/src/androidTest/kotlin/com/rubensousa/dpadrecyclerview/test/tests/drag/DragHelperGridTest.kt +++ b/dpadrecyclerview/src/androidTest/kotlin/com/rubensousa/dpadrecyclerview/test/tests/drag/DragHelperGridTest.kt @@ -185,6 +185,7 @@ class DragHelperGridTest { // when repeat(numberOfItems / spanCount) { KeyEvents.pressDown() + waitForIdleScrollState() } repeat(spanCount) { KeyEvents.pressRight()