NewAdminFirstLogin
deleteAllVisibleCookies
setTimeout 10000
open /vivo/
assertTitle VIVO
clickAndWait link=Log in
assertTitle Log in to VIVO
verifyTextPresent Log in
type loginName SisAdmin@cornell.edu
type loginPassword
click name=loginForm
verifyTextPresent Email
verifyTextPresent Password
type loginName SisAdmin@cornell.edu
type loginPassword wrong
clickAndWait name=loginForm
assertTitle Log in to VIVO
verifyTextPresent Log in
verifyTextPresent The email or password you entered is incorrect.
type loginName SisAdmin@cornell.edu
type loginPassword myPassword
clickAndWait name=loginForm
assertTitle Log in to VIVO
verifyTextPresent New Password
verifyTextPresent Confirm Password
clickAndWait link=Cancel
assertTitle VIVO
clickAndWait link=Log in
assertTitle Log in to VIVO
verifyTextPresent Log in
type loginName SisAdmin@cornell.edu
type loginPassword myPassword
clickAndWait loginForm
assertTitle Log in to VIVO
type newPassword
type confirmPassword
click name=passwordChangeForm
verifyTextPresent Change Password to Log in
type newPassword junky
type confirmPassword junky
clickAndWait passwordChangeForm
verifyTextPresent Please enter a password between 6 and 12 characters in length.
type newPassword myPassword
type confirmPassword myPassword
clickAndWait passwordChangeForm
verifyTextPresent Your new password cannot match the current one.
type newPassword newPassword
type confirmPassword newPasword
clickAndWait passwordChangeForm
verifyTextPresent The passwords entered do not match.
type newPassword newPassword
type confirmPassword newPassword
clickAndWait passwordChangeForm
assertTitle VIVO
verifyTextPresent Sis
clickAndWait link=Site Admin
assertTitle VIVO Site Administration
verifyElementPresent link=My account
verifyElementNotPresent link=My profile
clickAndWait link=Log out
clickAndWait link=Home
assertTitle VIVO