EditUserNobodyInfo
deleteAllVisibleCookies
comment Edit User Information
open /vivo/
assertTitle VIVO
comment Must not be logged in already
clickAndWait link=Log in
assertTitle VIVO Site Administration
comment Must login as site admin
type username testAdmin
type password Password
clickAndWait loginSubmitMode
assertTitle VIVO Site Administration
comment Go to user management for our new user account
clickAndWait link=User accounts
assertTitle User Accounts
clickAndWait link=Rick Rookie
assertTitle User Account Control Panel
comment Open the editing form
clickAndWait //input[@value='Edit User Account']
assertTitle User Account Editing Form
comment Change the User Name and the Last Name
type Username Richard Rookie
type FirstName Richard
clickAndWait primaryAction
assertTitle User Account Control Panel
comment Open the Reset Password form
clickAndWait //input[@value='Reset Password']
assertTitle User Account Editing Form
comment Try two passwords that don't match
type Md5password otherPassword
type passwordConfirmation somethingElse
click primaryAction
assertAlert The passwords do not match.
comment Try passwords that match, but are too long
type passwordConfirmation otherPassword
click primaryAction
assertAlert Please enter a password between 6 and 12 characters long.
comment Try a good password, with a good match.
type Md5password resetPasswd
type passwordConfirmation resetPasswd
clickAndWait primaryAction
assertTitle User Account Control Panel
comment Logout
clickAndWait link=Log out
assertTitle VIVO