CreateTestLibrarian
comment Add test Librarian named Lily Librarian
deleteAllVisibleCookies
open /vivo/
assertTitle VIVO
comment Must be logged off to start
clickAndWait link=Log in
assertTitle Log in to VIVO
comment Must login as the site admin
type loginName testAdmin
type loginPassword Password
clickAndWait loginForm
assertTitle VIVO
clickAndWait link=Site Admin
assertTitle VIVO Site Administration
verifyTextPresent Data Input
select VClassURI label=Librarian (core)
clickAndWait //input[@value='Add individual of this class']
assertTitle Edit
comment Add Lily Librarian
type firstName Lily
type lastName Librarian
clickAndWait submit
comment Edit Lily Librarian to add title
assertTitle Librarian, Lily
clickAndWait link=edit this individual
assertTitle Individual Control Panel
clickAndWait //input[@value='Edit This Individual']
assertTitle Individual Editing Form
type MonikerSelectAlt Associate Librarian
clickAndWait primaryAction
assertTitle Individual Control Panel
comment Verify that account was created
verifyTextPresent Librarian, Lily
verifyTextPresent Associate Librarian
comment Verify Co Networks not showing
clickAndWait link=Index
assertTitle Index to VIVO Contents
clickAndWait link=Librarian
assertTitle Librarian
clickAndWait link=Librarian, Lily
assertTitle Librarian, Lily
verifyTextNotPresent Co-Investigator Network
verifyTextNotPresent Co-Author Network
comment Logout
clickAndWait link=Home
clickAndWait link=Log out
assertTitle VIVO