ConfigurePortletEnableCommentRatingsTest
open /web/guest/home/
waitForElementPresent link=Document Library Test Page
clickAtAndWait link=Document Library Test Page
clickAtAndWait link=Configuration
store eval(selenium.isChecked('_86_enableCommentRatingsCheckbox')) commentRatingsEnabled
gotoIf ${commentRatingsEnabled} CommentRatingsEnabled
clickAt _86_enableCommentRatingsCheckbox
label CommentRatingsEnabled
clickAtAndWait //input[@value='Save']
assertTextPresent You have successfully updated the setup.
open /web/guest/home/
waitForElementPresent link=Document Library Test Page
clickAtAndWait link=Document Library Test Page
clickAtAndWait //b
clickAt //td[5]/ul/li/strong/span
waitForElementPresent link=View
clickAtAndWait link=View
clickAtAndWait link=Comments
waitForText //ul[@class='taglib-ratings thumbs'] ±0 (0 Votes)
assertText //ul[@class='taglib-ratings thumbs'] ±0 (0 Votes)