CheckCuratorPrivileges
deleteAllVisibleCookies
setTimeout 100000
comment Check Curator priviledges
open /vivo/
assertTitle VIVO
comment Must not be logged in already
clickAndWait link=Log in
assertTitle Log in to VIVO
comment Log in as Connie Curator
type loginName ConnieCurator@cornell.edu
type loginPassword newPassword
clickAndWait loginForm
clickAndWait link=Site Admin
assertTitle VIVO Site Administration
comment Check privileges: should see Data Input, Ontology Editor, Site Configuration, Advanced Data Tools.
verifyTextPresent Data Input
verifyTextPresent Site Configuration
verifyElementPresent link=Site information
verifyElementNotPresent link=Menu management
verifyElementPresent link=Institutional internal class
verifyElementNotPresent link=User accounts
verifyElementPresent link=Manage profile editing
verifyElementNotPresent 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
verifyTextNotPresent Advanced Data Tools
verifyElementNotPresent link=Ingest tools
verifyElementNotPresent link=Add/Remove RDF data
verifyElementNotPresent link=RDF export
verifyElementNotPresent link=SPARQL query
verifyElementNotPresent link=SPARQL query builder
verifyTextNotPresent Refresh Content
verifyElementNotPresent link=Rebuild search index
verifyElementNotPresent link=Rebuild class group cache
verifyElementNotPresent link=Rebuild visualization cache
verifyElementNotPresent link=Recompute inferences
comment Logout
clickAndWait link=Home
clickAndWait link=Log out
assertTitle VIVO