CreateTestFaculty
comment Add a Faculty member named Jane Faculty
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 username testAdmin
type password Password
clickAndWait loginSubmitMode
assertTitle VIVO Site Administration
verifyTextPresent Data Input
select VClassURI label=Faculty Member (core)
clickAndWait //input[@value='Add individual of this class']
assertTitle Individual Editing Form
comment Add Assistant Professor Jane Faculty
type Name Jane Faculty
type MonikerSelectAlt Assistant Professor
verifyTextPresent Creating New Record
clickAndWait primaryAction
assertTitle Individual Control Panel
comment Verify that account was created
verifyTextPresent Jane Faculty
comment Take a break for indexing
pause 50000
refreshAndWait
type search jane faculty
clickAndWait submit
assertTitle jane faculty - VIVO Search Results
verifyTextPresent Jane Faculty
comment Logout
clickAndWait link=Log out
assertTitle VIVO