AdminChangePassword
comment Change Password for Admin Account
open /vivo/
assertTitle VIVO
clickAndWait link=Log in
assertTitle VIVO Site Administration
verifyTextPresent Please log in
comment Login with current password
type username defaultAdmin
type password itsrules
clickAndWait loginSubmitMode
assertTitle VIVO Site Administration
verifyTextPresent Site Administration
verifyTextPresent User accounts
clickAndWait link=User accounts
assertTitle User Accounts
verifyTextPresent defaultAdmin
clickAndWait link=defaultAdmin
assertTitle User Account Control Panel
verifyTextPresent User Account Control Panel
clickAndWait //input[@value='Reset Password']
assertTitle User Account Editing Form
comment Enter passwords that do not match
type Md5password itsrules2
type passwordConfirmation itsrules3
click primaryAction
assertAlert The passwords do not match.
comment Enter passwords that do match
type passwordConfirmation itsrules2
clickAndWait primaryAction
assertTitle User Account Control Panel
verifyTextPresent User Account Control Panel
clickAndWait link=Log out
assertTitle VIVO
verifyTextPresent Log in
clickAndWait link=Log in
assertTitle VIVO Site Administration
comment Login with new password
type username defaultAdmin
type password itsrules2
clickAndWait loginSubmitMode
assertTitle VIVO Site Administration
verifyTextPresent Site Administration
verifyTextPresent User accounts
clickAndWait link=User accounts
assertTitle User Accounts
verifyTextPresent defaultAdmin
clickAndWait link=defaultAdmin
assertTitle User Account Control Panel
verifyTextPresent User Account Control Panel
clickAndWait //input[@value='Reset Password']
assertTitle User Account Editing Form
verifyTextPresent User Account Editing Form
comment Change password back
type Md5password itsrules
type passwordConfirmation itsrules
clickAndWait primaryAction
assertTitle User Account Control Panel
verifyTextPresent User Account Control Panel
clickAndWait link=Log out
assertTitle VIVO
verifyTextPresent Log in