androidx.test.espresso.PerformException: Error performing 'Scroll ScrollView to end' on view '(view.getId() is <...id/nested_scroll>)'.
Caused by: java.lang.RuntimeException: Action will not be performed because the target view does not match one or more of the following constraints:
(is assignable from class <class android.widget.ScrollView> and (view has effective visibility <VISIBLE> and view.getGlobalVisibleRect() to return non-empty rectangle))
Blind fix, I didn't test it. Trying to fix exception below when trying to scroll to end NestedScrollView. While I'm at it, added HorizontalScrollVIew