Unverified Commit 4ef0c19c authored by Benjamin Neff's avatar Benjamin Neff
Browse files

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
parent 50dd7b03
......@@ -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')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment