ConfigurePortletEnableCommentsTest
open /web/guest/home/
waitForElementPresent link=Web Content Display Test Page
clickAtAndWait link=Web Content Display Test Page
waitForElementPresent link=Configuration
clickAt //strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Configuration
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Configuration
click //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Configuration
waitForVisible _86_enableCommentsCheckbox
clickAt _86_enableCommentsCheckbox
clickAtAndWait //input[@value='Save']
assertText //div[@id='p_p_id_86_']/div/div You have successfully updated the setup.
open /web/guest/home/
waitForElementPresent link=Web Content Display Test Page
clickAtAndWait link=Web Content Display Test Page
assertTextPresent This is a test wcd web content.
assertElementPresent link=Be the first.