ValidateAdminProxy2 | ||
deleteAllVisibleCookies | ||
comment | Validate multiple proxy editors setup by user | |
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 | |
verifyTextPresent | Proxy, Polly | | |
verifyElementPresent | link=Remove selection | |
verifyTextPresent | Editor, Eddie | | |
verifyElementPresent | link=Remove selection | |
comment | Now delete the two proxy editors | |
click | link=Remove selection | |
click | link=Remove selection | |
clickAndWait | id=submitMyAccount | |
assertTitle | VIVO | |
verifyTextPresent | Your changes have been saved. | |
comment | Test that editing no longer works for Eddie Editor | |
clickAndWait | link=Log out | |
type | id=loginName | EddieEditor@cornell.edu |
type | id=loginPassword | Password |
clickAndWait | name=loginForm | |
assertTitle | VIVO | |
verifyElementNotPresent | link=My profile | |
clickAndWait | link=Faculty Member | |
assertTitle | Faculty Member | |
clickAndWait | link=Faculty, Jane | |
assertTitle | Faculty, Jane | |
verifyTextNotPresent | Overview | |
comment | Test that editing no longer works for Connie Curator | |
clickAndWait | link=Log out | |
clickAndWait | link=Log in | |
assertTitle | Log in to VIVO | |
type | id=loginName | PollyProxy@cornell.edu |
type | id=loginPassword | Password |
clickAndWait | name=loginForm | |
verifyElementNotPresent | link=My profile | |
clickAndWait | link=Index | |
assertTitle | Index of Contents | |
clickAndWait | link=Faculty Member | |
assertTitle | Faculty Member | |
clickAndWait | link=Faculty, Jane | |
assertTitle | Faculty, Jane | |
verifyTextNotPresent | Overview | |
comment | Logout | |
clickAndWait | link=Home | |
clickAndWait | link=Log out | |
assertTitle | VIVO |