TearDownTest
waitForElementPresent link=Web Content Display Test Page
clickAndWait link=Web Content Display Test Page
clickAndWait link=Configuration
click _86_enableRatingsCheckbox
click _86_enableCommentsCheckbox
click link=« Basic
waitForElementPresent link=Return to Full Page
clickAndWait link=Return to Full Page
assertElementNotPresent link=Add Comment
assertTextNotPresent Your Rating
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
assertTextNotPresent Select an existing article or add an article to be displayed in this portlet.
waitForElementPresent link=Control Panel
clickAndWait link=Control Panel
clickAndWait link=Web Content
waitForElementPresent _15_allRowIds
click _15_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected web content?
assertTextPresent Your request processed successfully.
clickAndWait link=Back to My Community
waitForElementPresent //div[2]/ul/li[1]/a/span
clickAndWait //div[2]/ul/li[1]/a/span
clickAndWait link=Manage Pages
clickAndWait //li[2]/ul/li[3]/a/span
clickAndWait link=Page
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected page?
assertTextPresent Your request processed successfully.
waitForElementPresent //div[2]/ul/li[1]/a/span
clickAndWait //div[2]/ul/li[1]/a/span
assertElementNotPresent link=Web Content Display Test Page