TearDownCommunityInactiveTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Communities
type _134_name Inactive
clickAtAndWait //input[@value='Search']
store eval(selenium.isElementPresent('//strong/span')) communityInactiveNot1Present
gotoIf !${communityInactiveNot1Present} CommunityInactiveNot1Present
clickAt //strong/span Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
assertConfirmation Are you sure you want to delete this?
label CommunityInactiveNot1Present
store eval(selenium.isElementPresent('//strong/span')) communityInactiveNot2Present
gotoIf !${communityInactiveNot2Present} CommunityInactiveNot2Present
clickAt //strong/span Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
assertConfirmation Are you sure you want to delete this?
label CommunityInactiveNot2Present
store eval(selenium.isElementPresent('//strong/span')) communityInactiveNot3Present
gotoIf !${communityInactiveNot3Present} CommunityInactiveNot3Present
clickAt //strong/span Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
assertConfirmation Are you sure you want to delete this?
label CommunityInactiveNot3Present
store eval(selenium.isElementPresent('//strong/span')) communityInactiveNot4Present
gotoIf !${communityInactiveNot4Present} CommunityInactiveNot4Present
clickAt //strong/span Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
assertConfirmation Are you sure you want to delete this?
label CommunityInactiveNot4Present
store eval(selenium.isElementPresent('//strong/span')) communityInactiveNot5Present
gotoIf !${communityInactiveNot5Present} CommunityInactiveNot5Present
clickAt //strong/span Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
assertConfirmation Are you sure you want to delete this?
label CommunityInactiveNot5Present