AssociateLibToFac
deleteAllVisibleCookies
comment Associate Librarians to Faculty
open /vivo/
assertTitle VIVO
comment Must not be logged in
clickAndWait link=Log in
assertTitle VIVO
comment Must login as site admin
type loginName testAdmin
type loginPassword Password
clickAndWait loginForm
assertTitle VIVO
clickAndWait link=Site Admin
assertTitle VIVO Site Administration
comment Navigate to the core:Librarian in the ontology
clickAndWait link=Class hierarchy
assertTitle Class Hierarchy
verifyTextPresent core:Librarian
clickAndWait link=exact:core:Librarian
assertTitle Class Control Panel
clickAndWait //input[@value='New Link to Superclass']
assertTitle Super/Subclass Editing Form
comment Create the link
select SuperclassURI label=core:Faculty Member
clickAndWait primaryAction
assertTitle Class Control Panel
comment Make sure Lilly Librarian shows up in both categories
clickAndWait link=People
assertTitle People
clickAndWait link=Faculty
assertTitle Faculty
verifyTextPresent Librarian, Lily
verifyTextPresent Assistant Librarian
comment Logout
clickAndWait link=Home
clickAndWait link=Log out
assertTitle VIVO