ConfigurePortletEnableCommentsTest
open /web/guest/home/
waitForVisible link=Asset Publisher Test Page Asset Publisher Test Page
clickAtAndWait link=Asset Publisher Test Page Asset Publisher Test Page
assertText //strong/a Options
clickAt //strong/a Options
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 //input[@id='_86_enableCommentsCheckbox'] Enable Comments
assertNotChecked //input[@id='_86_enableCommentsCheckbox'] Enable Comments
clickAt //input[@id='_86_enableCommentsCheckbox'] Enable Comments
clickAtAndWait //input[@value='Save'] Save
assertText //div[@class='portlet-msg-success'] You have successfully updated the setup.
assertChecked //input[@id='_86_enableCommentsCheckbox'] Enable Comments