From dabc93a99eeededd9be3d37a90ef81c50917af84 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 25 Sep 2015 15:27:00 +0200 Subject: [PATCH] Fixed remember_me selector. --- 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 f5b4da8ea..6f22246a3 100644 --- a/test/browser_test_helper.rb +++ b/test/browser_test_helper.rb @@ -134,7 +134,7 @@ class TestCase < Test::Unit::TestCase element.send_keys( params[:password] ) if params[:remember_me] - instance.find_elements( { css: '#login [name="remember_me"]' } )[0].click + instance.find_elements( { css: '#login .checkbox-replacement' } )[0].click end instance.find_elements( { css: '#login button' } )[0].click