Skip to content

Commit 1cefd42

Browse files
committed
add smoothScroll
1 parent 2a3ea37 commit 1cefd42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/android/android/mobile_commands_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def test_scroll_page_on_view_pager
112112
assert error.message.include? "Must provide either 'scrollTo' or 'scrollToPage'"
113113

114114
# A test demo apk has no the element
115-
assert_mobile_command_error 'mobile: scrollToPage', { element: el.ref, scrollToPage: 2 },
115+
assert_mobile_command_error 'mobile: scrollToPage', { element: el.ref, scrollToPage: 2, smoothScroll: true },
116116
'Could not perform scroll to on element'
117117
end
118118

0 commit comments

Comments
 (0)