Change order of fields in fill_in_new_user_form
The user_email is the first field anyway, and login form as a user_username field too, so it maybe happens that we already fill in the user_username filed there before page load finished. closes #7556
This commit is contained in:
parent
50dd7b03d7
commit
4ef0c19ce3
1 changed files with 1 additions and 1 deletions
|
|
@ -69,8 +69,8 @@ module UserCukeHelpers
|
|||
|
||||
def fill_in_new_user_form
|
||||
@username = "ohai"
|
||||
fill_in('user_username', with: @username)
|
||||
fill_in('user_email', with: "#{@username}@example.com")
|
||||
fill_in('user_username', with: @username)
|
||||
fill_in('user_password', with: 'secret')
|
||||
fill_in('user_password_confirmation', with: 'secret')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue