EnableCommentRatingsTest
waitForElementPresent link=Document Library Test Page
clickAtAndWait link=Document Library Test Page
clickAtAndWait link=Test2 Folder2
clickAtAndWait link=Test3 Subfolder3
clickAt //div[@id='portlet-wrapper-20']/div[2]/div/div/form[2]/div[2]/table/tbody/tr[3]/td[5]/ul/li/strong/span
clickAtAndWait link=View
clickAtAndWait link=Comments
clickAt link=Add Comment
type _20_postReplyBody0 This is a test comment ratings comment.
clickAtAndWait _20_postReplyButton0
assertElementPresent //td[1]/ul/li[2]/a[1]
assertElementPresent //td[1]/ul/li[2]/a[2]
clickAtAndWait link=Return to Full Page
clickAtAndWait //img[@alt='Configuration']
assertChecked _86_enableCommentRatingsCheckbox
clickAt _86_enableCommentRatingsCheckbox
clickAtAndWait //input[@value='Save']
assertTextPresent You have successfully updated the setup.
clickAtAndWait link=Return to Full Page
clickAtAndWait link=Test2 Folder2
clickAtAndWait link=Test3 Subfolder3
clickAt //div[@id='portlet-wrapper-20']/div[2]/div/div/form[2]/div[2]/table/tbody/tr[3]/td[5]/ul/li/strong/span
clickAtAndWait link=View
clickAtAndWait link=Comments
assertElementNotPresent //td[1]/ul/li[2]/a[1]
assertElementNotPresent //td[1]/ul/li[2]/a[2]
clickAtAndWait link=Return to Full Page
clickAtAndWait //img[@alt='Configuration']
assertNotChecked _86_enableCommentRatingsCheckbox
clickAt _86_enableCommentRatingsCheckbox
clickAtAndWait //input[@value='Save']
assertTextPresent You have successfully updated the setup.