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 link=Test1 Folder1
clickAt //td[5]/ul/li/strong/span
waitForElementPresent link=View
clickAtAndWait link=View
clickAtAndWait link=Comments
assertText //td[1]/ul/li[1]/span ±0
assertText //td[1]/ul/li[3] (0 Votes)