[Qt][Wk2] Add an API test for scroll request from javascript