ValidateAdminProxy2
deleteAllVisibleCookiesAndWait
comment Validate multiple proxy editors
open /vivo/
assertTitle VIVO
clickAndWait link=Log in
assertTitle Log in to VIVO
comment Login as admin
type id=loginName JaneFaculty@cornell.edu
type id=loginPassword Password
clickAndWait name=loginForm
assertTitle Faculty, Jane
comment Verify existing relationship
clickAndWait link=My account
assertTitle VIVO
verifyTextNotPresent Curator, Connie |
verifyTextNotPresent Editor, Eddie |
comment Now make Eddie and Connie proxy editors
type id=addProfileEditor edito
click id=ui-active-menuitem
type id=addProfileEditor cura
click id=ui-active-menuitem
clickAndWait id=submitMyAccount
assertTitle VIVO
verifyTextPresent Your changes have been saved.
verifyTextPresent Curator, Connie |
verifyElementPresent link=Remove selection
verifyTextPresent Editor, Eddie |
verifyElementPresent link=Remove selection
comment Test that editing works for Eddie Editor
clickAndWait link=Log out
type id=loginName EddieEditor@cornell.edu
type id=loginPassword Password
clickAndWait name=loginForm
assertTitle VIVO
clickAndWait link=My profile
assertTitle Faculty, Jane
verifyElementPresent link=Edit this individual
comment Test that editing works for Connie Curator
clickAndWait link=Log out
clickAndWait link=Log in
assertTitle Log in to VIVO
type id=loginName ConnieCurator@cornell.edu
type id=loginPassword Password
clickAndWait name=loginForm
clickAndWait link=My profile
assertTitle Faculty, Jane
verifyElementPresent link=Edit this individual
comment Logout
clickAndWait link=Home
clickAndWait link=Log out
assertTitle VIVO