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/a')) communityPrivateNot1Present
gotoIf !${communityPrivateNot1Present} CommunityPrivateNot1Present
assertText //strong/a Actions
clickAt //strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
assertConfirmation Are you sure you want to delete this?
label CommunityPrivateNot1Present
store eval(selenium.isElementPresent('//strong/a')) communityPrivateNot2Present
gotoIf !${communityPrivateNot2Present} CommunityPrivateNot2Present
assertText //strong/a Actions
clickAt //strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
assertConfirmation Are you sure you want to delete this?
label CommunityPrivateNot2Present
store eval(selenium.isElementPresent('//strong/a')) communityPrivateNot3Present
gotoIf !${communityPrivateNot3Present} CommunityPrivateNot3Present
assertText //strong/a Actions
clickAt //strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
assertConfirmation Are you sure you want to delete this?
label CommunityPrivateNot3Present
store eval(selenium.isElementPresent('//strong/a')) communityPrivateNot4Present
gotoIf !${communityPrivateNot4Present} CommunityPrivateNot4Present
assertText //strong/a Actions
clickAt //strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
assertConfirmation Are you sure you want to delete this?
label CommunityPrivateNot4Present
store eval(selenium.isElementPresent('//strong/a')) communityPrivateNot5Present
gotoIf !${communityPrivateNot5Present} CommunityPrivateNot5Present
assertText //strong/a Actions
clickAt //strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[7]/a Delete
assertConfirmation Are you sure you want to delete this?
label CommunityPrivateNot5Present