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 VIVO Site Administration
comment Must login as the site admin
type loginName testAdmin
type loginPassword Password
clickAndWait loginForm
assertTitle VIVO Site Administration
verifyTextPresent Data Input
select VClassURI label=Librarian (core)
clickAndWait //input[@value='Add individual of this class']
pause 10000
assertTitle Individual Editing Form
comment Add Associate Librarian Lily Librarian
type Name Lily Librarian
type MonikerSelectAlt Associate Librarian
verifyTextPresent Creating New Record
clickAndWait primaryAction
assertTitle Individual Control Panel
comment Verify that account was created
verifyTextPresent Lily Librarian
comment Logout
clickAndWait link=Log out
assertTitle VIVO