KakaoCup / Kakao

Nice and simple DSL for Espresso in Kotlin
https://kakaocup.github.io/Kakao/
Apache License 2.0
324 stars 28 forks source link

io.github.kakaocup.kakao.common.actions.BaseActions#scrollTo doesn't support recycler view #99

Closed Nikitae57 closed 10 months ago

Nikitae57 commented 10 months ago

Steps to reproduce:

1.Edit io.github.kakaocup.sample.NestedRecyclerTest#testSingleItemTypeRecyclerView like that: image

Observed Results:

java.lang.RuntimeException: Action will not be performed because the target view does not match one or more of the following constraints:
(view has effective visibility <VISIBLE> and is descendant of a view matching (is assignable from class <class android.widget.ScrollView> or is assignable from class <class android.widget.HorizontalScrollView> or is assignable from class <class androidx.core.widget.NestedScrollView> or is assignable from class <class android.widget.ListView>))

Expected Results:

Test doesn't fail