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 |
|
pause |
5000 |
|
clickAndWait |
link=Furter, Frank |
|
assertTitle |
Furter, Frank |
|
verifyElementPresent |
css=a.add-label > img.add-individual |
|
clickAndWait |
css=a.add-label > img.add-individual |
|
assertTitle |
Edit |
|
verifyTextPresent |
Manage Labels for Furter, Frank |
|
verifyTextPresent |
Furter, Frank Edit Remove |
|
verifyTextPresent |
Test Label 1 Edit Remove |
|
verifyTextPresent |
Test Label 2 Edit Remove |
|
verifyElementPresent |
link=Edit |
|
verifyElementPresent |
link=Remove |
|
verifyElementPresent |
css=#showCancelOnly > a.cancel |
|
click |
link=Remove |
|
assertConfirmation |
Are you sure you wish to delete this label? |
|
waitForPageToLoad |
5000 |
|
verifyTextNotPresent |
Furter, Frank Edit Remove |
|
verifyTextPresent |
Test Label 1 Edit Remove |
|
verifyTextPresent |
Test Label 2 Edit Remove |
|
clickAndWait |
css=#showCancelOnly > a.cancel |
|
assertTitle |
Test Label 1 |
|
clickAndWait |
css=a.add-label > img.add-individual |
|
assertTitle |
Edit |
|
click |
link=Remove |
|
assertConfirmation |
Are you sure you wish to delete this label? |
|
waitForPageToLoad |
5000 |
|
verifyTextNotPresent |
Furter, Frank Edit Remove |
|
verifyTextNotPresent |
Test Label 1 Edit Remove |
|
verifyTextPresent |
Test Label 2 Edit Remove |
|
clickAndWait |
css=#showCancelOnly > a.cancel |
|
assertTitle |
Test Label 2 |
|
verifyTextPresent |
Test Label 2 |
|
verifyTextNotPresent |
Furter, Frank |
|
verifyTextNotPresent |
Test Label 1 |
|
clickAndWait |
link=Home |
|
clickAndWait |
link=Log out |
|
assertTitle |
VIVO |
|