SA_TearDownTest
waitForElementPresent //a[@id='my-community-private-pages']
clickAtAndWait //a[@id='my-community-private-pages']
clickAtAndWait link=Communities I Have Joined
clickAt //strong/span
waitForElementPresent //div[2]/ul/li[3]/a
clickAtAndWait //div[2]/ul/li[3]/a
clickAtAndWait //form/ul[1]/li[3]/a
clickAtAndWait link=Staging
clickAndWait _29_stagingEnabled
assertConfirmation Are you sure you want to delete the staging public and private pages?
clickAtAndWait //li[4]/ul/li[1]/a[1]
clickAtAndWait 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?
clickAtAndWait link=Welcome
clickAtAndWait link=Manage Pages
clickAtAndWait //div/ul/li[2]/ul/li[3]/a/span
clickAtAndWait link=Page
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
clickAtAndWait link=Welcome