AdminChangePassword
deleteAllVisibleCookies
setTimeout 100000
open /vivo/
assertTitle VIVO
clickAndWait link=Log in
verifyTextPresent Log in
assertTitle Log in to VIVO
type loginName testAdmin@cornell.edu
type loginPassword Password
clickAndWait loginForm
verifyTextPresent Test
verifyElementPresent link=Log out
clickAndWait link=My account
assertTitle VIVO
verifyTextPresent My account
verifyTextPresent New password
verifyTextPresent Confirm new password
type new-password onlynew
type confirm-password
clickAndWait id=submitMyAccount
assertTitle VIVO
verifyTextPresent Passwords do not match.
type new-password
type confirm-password onlyconfirm
clickAndWait id=submitMyAccount
assertTitle VIVO
verifyTextPresent Passwords do not match.
type new-password Password2
type confirm-password incorrect2
clickAndWait id=submitMyAccount
assertTitle VIVO
verifyTextPresent Passwords do not match.
type new-password junky
type confirm-password junky
clickAndWait id=submitMyAccount
assertTitle VIVO
verifyTextPresent Please enter a password between 6 and 12 characters in length.
type new-password goody2
type confirm-password goody2
clickAndWait id=submitMyAccount
assertTitle VIVO
verifyTextPresent Your changes have been saved.
clickAndWait link=Home
clickAndWait link=Log out
assertTitle VIVO
verifyTextPresent Log in
clickAndWait link=Log in
assertTitle Log in to VIVO
type loginName testAdmin@cornell.edu
type loginPassword goody2
clickAndWait loginForm
assertTitle VIVO
clickAndWait link=My account
assertTitle VIVO
type new-password Password
type confirm-password Password
clickAndWait id=submitMyAccount
assertTitle VIVO
verifyTextPresent Your changes have been saved.
clickAndWait link=Home
clickAndWait link=Log out
assertTitle VIVO