ConfigurePortletEnableCommentRatingsTest
open /web/guest/home/
waitForElementPresent link=Document Library Test Page
clickAtAndWait link=Document Library Test Page
clickAt //strong/a
waitForVisible //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_enableCommentRatingsCheckbox
store eval(selenium.isChecked('_86_enableCommentRatingsCheckbox')) commentRatingsEnabled
gotoIf ${commentRatingsEnabled} CommentRatingsEnabled
clickAt _86_enableCommentRatingsCheckbox
label CommentRatingsEnabled
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=Document Library Test Page
clickAtAndWait link=Document Library Test Page
clickAtAndWait //a/strong
clickAtAndWait //td[1]/a
waitForPartialText //td[1]/div/div/div/div 0 Votes
assertPartialText //td[1]/div/div/div/div 0 Votes