NestedScrollView not supported by ScrollTo ViewAction
Closed this issue · 1 comments
albertlouisong commented
Steps to reproduce:
- Create a layout with a nested scroll view
- Create a test that calls
scrollTo
on a view within that layout
Observed Results:
- Error is thrown that the scrollTo action failed
androidx.test.espresso.PerformException: Error performing 'scroll to' on view '(with id: [view id])'.
Expected Results:
- UI test scrolls to the relevant view
Possible Workaround:
Currently using the solution from here, which just adds NestedScrollView
as one of the assignable objects for ScrollToAction
Unlimity commented
Hi there! Thank you for raising this problem.
I'll see what I can do to improve.