TearDownCommunityPrivateTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Communities
type _134_name Private
clickAtAndWait //input[@value='Search']
store eval(selenium.isElementPresent('//strong/span')) communityPrivateNot1Present
gotoIf !${communityPrivateNot1Present} CommunityPrivateNot1Present
clickAt //strong/span Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a Delete
assertConfirmation Are you sure you want to delete this?
label CommunityPrivateNot1Present
store eval(selenium.isElementPresent('//strong/span')) communityPrivateNot2Present
gotoIf !${communityPrivateNot2Present} CommunityPrivateNot2Present
clickAt //strong/span Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a Delete
assertConfirmation Are you sure you want to delete this?
label CommunityPrivateNot2Present
store eval(selenium.isElementPresent('//strong/span')) communityPrivateNot3Present
gotoIf !${communityPrivateNot3Present} CommunityPrivateNot3Present
clickAt //strong/span Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a Delete
assertConfirmation Are you sure you want to delete this?
label CommunityPrivateNot3Present
store eval(selenium.isElementPresent('//strong/span')) communityPrivateNot4Present
gotoIf !${communityPrivateNot4Present} CommunityPrivateNot4Present
clickAt //strong/span Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a Delete
assertConfirmation Are you sure you want to delete this?
label CommunityPrivateNot4Present
store eval(selenium.isElementPresent('//strong/span')) communityPrivateNot5Present
gotoIf !${communityPrivateNot5Present} CommunityPrivateNot5Present
clickAt //strong/span Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a Delete
assertConfirmation Are you sure you want to delete this?
label CommunityPrivateNot5Present