| waitForElementPresent |
//li[4]/ul/li[1]/a[1] |
|
| clickAndWait |
//li[4]/ul/li[1]/a[1] |
|
| clickAndWait |
link=Control Panel |
|
| clickAndWait |
link=Communities |
|
| click |
//strong/span |
|
| waitForElementPresent |
link=Manage Pages |
|
| clickAndWait |
link=Manage Pages |
|
| clickAndWait |
//form/ul[1]/li[3]/a |
|
| clickAndWait |
link=Staging |
|
| clickAndWait |
_134_stagingEnabled |
|
| assertConfirmation |
Are you sure you want to delete the staging public and private pages? |
|
| clickAndWait |
link=Back to Guest |
|
| clickAndWait |
link=Blogs Staging Test Page |
|
| store |
eval(selenium.isElementPresent('link=Delete')) |
BlogsPresent |
| gotoIf |
!${BlogsPresent} |
NoBlogsPresent |
| clickAndWait |
link=Delete |
|
| assertConfirmation |
Are you sure you want to delete this? |
|
| label |
NoBlogsPresent |
|
| click |
//img[@alt='Remove'] |
|
| assertConfirmation |
Are you sure you want to remove this component? |
|
| clickAndWait |
link=Welcome |
|
| clickAndWait |
link=Manage Pages |
|
| clickAndWait |
//div/ul/li[2]/ul/li[2]/a/span |
|
| clickAndWait |
link=Page |
|
| clickAndWait |
//input[@value='Delete'] |
|
| assertConfirmation |
Are you sure you want to delete the selected page? |
|
| clickAndWait |
link=Welcome |
|