EnableCommentRatingsTest
waitForElementPresent link=Document Library Test Page
clickAtAndWait link=Document Library Test Page
clickAtAndWait //tr[4]/td[1]/a[2]/b
clickAtAndWait //b
clickAt //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 //tr[4]/td[1]/a[2]/b
clickAtAndWait //b
clickAt //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.