CreateTestLibrarian | ||
comment | Add test Librarian named Lily Librarian | |
deleteAllVisibleCookies | ||
setTimeout | 100000 | |
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@cornell.edu |
type | loginPassword | Password |
clickAndWait | loginForm | |
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 | css=a.add-preferredTitle > img.add-individual | |
assertTitle | Edit | |
type | tinymce | Associate Librarian |
clickAndWait | submit | |
assertTitle | Librarian, Lily | |
comment | Verify that account was created | |
verifyTextPresent | Librarian, Lily | |
verifyTextPresent | Associate Librarian | |
comment | Logout | |
clickAndWait | link=Home | |
clickAndWait | link=Log out | |
assertTitle | VIVO |