deleteAllVisibleCookies |
|
|
setTimeout |
10000000 |
|
open |
/vivo/ |
|
assertTitle |
VIVO |
|
clickAndWait |
link=Log in |
|
assertTitle |
Log in to VIVO |
|
type |
loginName |
testAdmin@cornell.edu |
type |
loginPassword |
Password |
clickAndWait |
loginForm |
|
clickAndWait |
link=Site Admin |
|
clickAndWait |
link=User accounts |
|
assertTitle |
VIVO |
|
verifyTextPresent |
User accounts |
|
verifyTextPresent |
5 accounts |
|
clickAndWait |
//input[@value='Add new account'] |
|
assertTitle |
VIVO |
|
verifyTextPresent |
User accounts > Add new account |
|
type |
email-address |
RickRookie@cornell.edu |
type |
first-name |
Rick |
type |
last-name |
Rookie |
click |
xpath=(//input[@name='role'])[4] |
|
type |
initial-password |
myPassword |
type |
confirm-password |
myPassword |
clickAndWait |
submitAdd |
|
assertTitle |
VIVO |
|
refreshAndWait |
10000 |
|
refreshAndWait |
10000 |
|
refreshAndWait |
10000 |
|
refreshAndWait |
10000 |
|
refreshAndWait |
10000 |
|
verifyTextPresent |
6 accounts |
|
verifyElementPresent |
link=RickRookie@cornell.edu |
|
verifyTextPresent |
Rick |
|
verifyTextPresent |
Rookie |
|
verifyTextPresent |
ACTIVE |
|
verifyTextPresent |
Self Editor |
|
verifyTextPresent |
0 |
|
clickAndWait |
link=Log out |
|
assertTitle |
VIVO |
|