deleteAllVisibleCookies |
|
|
setTimeout |
10000000 |
|
comment |
|
open |
/vivo/ |
|
assertTitle |
VIVO |
|
comment |
|
clickAndWait |
link=Log in |
|
assertTitle |
Log in to VIVO |
|
comment |
|
type |
loginName |
testAdmin@cornell.edu |
type |
loginPassword |
Password |
clickAndWait |
loginForm |
|
comment |
|
clickAndWait |
link=Site Admin |
|
assertTitle |
VIVO Site Administration |
|
clickAndWait |
link=Page management |
|
assertTitle |
Pages |
|
comment |
|
clickAndWait |
id=submit |
|
assertTitle |
Edit |
|
select |
id=typeSelect |
label=Fixed HTML |
type |
id=fixedHTMLSaveToVar |
test |
type |
id=fixedHTMLValue |
This is a test. |
click |
xpath=(//input[@id='doneWithContent'])[3] |
|
type |
id=pageName |
Test |
type |
id=pageName |
Test HTML |
type |
id=pageName |
Test HTML Page |
type |
name=prettyUrl |
/html |
click |
id=menuCheckbox |
|
type |
id=menuLinkText |
Test HTML Page |
clickAndWait |
id=pageSave |
|
assertTitle |
Pages |
|
comment |
|
verifyElementPresent |
link=Test HTML Page |
|
verifyTextPresent |
/html |
|
clickAndWait |
link=Test HTML Page |
|
assertTitle |
Test HTML Page |
|
verifyTextPresent |
This is a test. |
|
comment |
|
clickAndWait |
link=Site Admin |
|
assertTitle |
VIVO Site Administration |
|
open |
/vivo/html/ |
|
assertTitle |
Test HTML Page |
|
verifyTextPresent |
This is a test. |
|
comment |
|
clickAndWait |
link=Site Admin |
|
assertTitle |
VIVO Site Administration |
|
clickAndWait |
link=Page management |
|
assertTitle |
Pages |
|
click |
xpath=(//img[@alt='delete'])[7] |
|
assertConfirmation |
Are you sure you wish to delete this page: Test HTML Page? |
|
waitForPageToLoad |
5000 |
|
assertTitle |
Pages |
|
comment |
|
verifyElementNotPresent |
link=Test HTML Page |
|
verifyTextNotPresent |
/html |
|
comment |
|
clickAndWait |
link=Home |
|
clickAndWait |
link=Log out |
|
assertTitle |
VIVO |
|
verifyTextPresent |
Log in |
|