DeleteCommunityGuestTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Communities
assertPartialText //tr[3]/td[1] Liferay
clickAt //strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[8]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[8]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[8]/a Delete
assertConfirmation Are you sure you want to delete this?
assertText //div[@class='portlet-msg-error'] You have entered invalid data. Please try again.
assertText xPath=(//div[@class='portlet-msg-error'])[2] The group cannot be deleted because it is a required system group.
assertPartialText //tr[3]/td[1] Liferay