TearDownCommunityRestrictedTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Communities
type _134_name Restricted
clickAtAndWait //input[@value='Search']
store eval(selenium.isElementPresent('//strong/span')) communityRestrictedNot1Present
gotoIf !${communityRestrictedNot1Present} CommunityRestrictedNot1Present
clickAt //strong/span 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 CommunityRestrictedNot1Present
store eval(selenium.isElementPresent('//strong/span')) communityRestrictedNot2Present
gotoIf !${communityRestrictedNot2Present} CommunityRestrictedNot2Present
clickAt //strong/span 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 CommunityRestrictedNot2Present
store eval(selenium.isElementPresent('//strong/span')) communityRestrictedNot3Present
gotoIf !${communityRestrictedNot3Present} CommunityRestrictedNot3Present
clickAt //strong/span 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 CommunityRestrictedNot3Present
store eval(selenium.isElementPresent('//strong/span')) communityRestrictedNot4Present
gotoIf !${communityRestrictedNot4Present} CommunityRestrictedNot4Present
clickAt //strong/span 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 CommunityRestrictedNot4Present
store eval(selenium.isElementPresent('//strong/span')) communityRestrictedNot5Present
gotoIf !${communityRestrictedNot5Present} CommunityRestrictedNot5Present
clickAt //strong/span 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 CommunityRestrictedNot5Present