NewAdminFirstLogin
comment Login for first time with new admin account
deleteAllVisibleCookies
setTimeout 10000
open /vivo/
assertTitle VIVO
comment Must not be logged in already
clickAndWait link=Log in
assertTitle Log in to VIVO
verifyTextPresent Log in
comment Try logging in without a password
type loginName SisAdmin@cornell.edu
type loginPassword
clickAndWait loginForm
verifyTextPresent Email
verifyTextPresent Password
comment Try logging in with the wrong password
type loginName SisAdmin@cornell.edu
type loginPassword wrong
clickAndWait loginForm
assertTitle Log in to VIVO
verifyTextPresent Log in
verifyTextPresent The email or password you entered is incorrect.
comment Login with the correct password
type loginName SisAdmin@cornell.edu
type loginPassword myPassword
clickAndWait loginForm
assertTitle Log in to VIVO
comment Now need to set a new password
verifyTextPresent New Password
verifyTextPresent Confirm Password
comment Cancel out before doing anything
clickAndWait link=Cancel
assertTitle VIVO
comment Login with the correct password again
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
comment Try entering nothing in both fields
type newPassword
type confirmPassword
clickAndWait passwordChangeForm
comment Enter in an invalid password
type newPassword junky
type confirmPassword junky
clickAndWait passwordChangeForm
verifyTextPresent Please enter a password between 6 and 12 characters in length.
comment Try using the original password as the new password
type newPassword myPassword
type confirmPassword myPassword
clickAndWait passwordChangeForm
assertTitle Log in to VIVO
verifyTextPresent Your new password cannot match the current one.
comment Try entering in different passwords in each field
type newPassword newPassword
type confirmPassword newPasword
clickAndWait passwordChangeForm
verifyTextPresent The passwords entered do not match.
comment Enter valid passwords
type newPassword newPassword
type confirmPassword newPassword
clickAndWait passwordChangeForm
assertTitle VIVO
comment Verify new account is logged in and has access to correct options
verifyTextPresent Sis
clickAndWait link=Site Admin
assertTitle VIVO Site Administration
comment Verify available options
clickAndWait link=Site Admin
assertTitle VIVO Site Administration
verifyTextPresent Data Input
verifyTextPresent Site Configuration
verifyElementPresent link=Site information
verifyElementPresent link=Menu management
verifyElementPresent link=Institutional internal class
verifyElementPresent link=User accounts
verifyElementPresent link=Manage Profile Editing
verifyElementPresent link=Startup Status
verifyTextPresent Ontology Editor
verifyElementPresent link=Ontology list
verifyTextPresent Class Management
verifyElementPresent link=Class hierarchy
verifyElementPresent link=Class groups
verifyTextPresent Property Management
verifyElementPresent link=Object property hierarchy
verifyElementPresent link=Data property hierarchy
verifyElementPresent link=Property groups
verifyTextPresent Advanced Data Tools
verifyElementPresent link=Ingest tools
verifyElementPresent link=Add/Remove RDF data
verifyElementPresent link=RDF export
verifyElementPresent link=SPARQL query
verifyElementPresent link=SPARQL query builder
verifyTextPresent Refresh Content
verifyElementPresent link=Rebuild search index
verifyElementPresent link=Rebuild class group cache
verifyElementPresent link=Rebuild visualization cache
verifyElementPresent link=Recompute inferences
comment log out
clickAndWait link=Log out
clickAndWait link=Home
assertTitle VIVO