From 8f2eb904aee15b005d162af786c9b2f5f3def8de Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 17 Nov 2015 15:28:00 +0100 Subject: [PATCH] Improved scroll_to behaviour. --- test/browser_test_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/browser_test_helper.rb b/test/browser_test_helper.rb index b24511eb0..cd57feeb7 100644 --- a/test/browser_test_helper.rb +++ b/test/browser_test_helper.rb @@ -291,7 +291,7 @@ class TestCase < Test::Unit::TestCase execute( browser: instance, - js: "\$('#{params[:css]}').get(0).scrollIntoView(true)", + js: "\$('#{params[:css]}').get(0).scrollIntoView(false)", mute_log: params[:mute_log] ) sleep 0.4