Fixed remember_me selector.

This commit is contained in:
Martin Edenhofer 2015-09-25 15:27:00 +02:00
parent 49b1a000e5
commit dabc93a99e

View file

@ -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