Fixed remember_me selector.
This commit is contained in:
parent
49b1a000e5
commit
dabc93a99e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue