TearDownTest
waitForElementPresent //a[@id='my-community-private-pages']
clickAndWait //a[@id='my-community-private-pages']
clickAndWait link=Communities Test Page
clickAndWait link=Communities I Own
store eval(selenium.isElementPresent('//strong/span')) CommunitiesPresentA
gotoIf !${CommunitiesPresentA} No Communities PresentA
click //strong/span
waitForElementPresent //div[2]/ul/li[7]/nobr/a
clickAndWait //div[2]/ul/li[7]/nobr/a
assertConfirmation Are you sure you want to delete this?
assertTextPresent Your request processed successfully.
label No Communities PresentA
store eval(selenium.isElementPresent('//strong/span')) CommunitiesPresentB
gotoIf !${CommunitiesPresentB} No Communities PresentB
click //strong/span
waitForElementPresent //div[2]/ul/li[7]/nobr/a
clickAndWait //div[2]/ul/li[7]/nobr/a
assertConfirmation Are you sure you want to delete this?
assertTextPresent Your request processed successfully.
label No Communities PresentB
clickAndWait link=Return to Full Page
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
assertElementNotPresent link=Communities I Own
clickAndWait link=Communities Setup Test Page
clickAndWait link=Users
typeKeys _79_keywords commun
type _79_keywords commun
clickAndWait //input[@value='Search Users']
click //strong/span
waitForElementPresent //img[@alt='Deactivate']
clickAndWait //img[@alt='Deactivate']
assertConfirmation Are you sure you want to deactivate this?
assertTextPresent Your request processed successfully.
click link=Advanced »
waitForElementPresent _79_active
select _79_active label=No
clickAndWait //input[@value='Search Users']
click //td[7]/ul
waitForElementPresent link=Delete
clickAndWait link=Delete
assertConfirmation Are you sure you want to delete this?
assertTextPresent Your request processed successfully.
assertTextPresent No users were found.
click link=« Basic
clickAndWait link=Return to Full Page
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
assertElementNotPresent link=Users
clickAndWait //div[2]/ul/li[1]/a
clickAndWait link=Manage Pages
clickAndWait //li[2]/ul/li[3]/a/span
clickAndWait link=Page
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
assertTextPresent Your request processed successfully.
clickAndWait //li[2]/ul/li[3]/a/span
clickAndWait link=Page
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
assertTextPresent Your request processed successfully.
clickAndWait //div[2]/ul/li[1]/a
assertElementNotPresent link=Communities Test Page
assertElementNotPresent link=Communities Setup Test Page