TearDownTest
waitForElementPresent link=Journal Content Test Page
clickAndWait link=Journal Content Test Page
waitForElementPresent //img[@alt='Select Article']
clickAndWait //img[@alt='Select Article']
click _86_enableRatingsCheckbox
click _86_enableCommentsCheckbox
waitForElementPresent link=Return to Full Page
clickAndWait link=Return to Full Page
assertElementNotPresent link=Post Reply
assertTextNotPresent Your Rating
waitForElementPresent //img[@alt='Edit Article']
clickAndWait //img[@alt='Edit Article']
pause 5000
waitForElementPresent //input[@value='Delete']
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to deactivate this?
assertTextPresent Select an existing article or add an article to be displayed in this portlet.
waitForElementPresent link=Configuration
clickAndWait link=Configuration
waitForElementPresent link=« Basic
click link=« Basic
clickAndWait link=Return to Full Page
waitForElementPresent link=Close
click link=Close
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 //div[2]/ul/li[1]/a/span
clickAndWait //div[2]/ul/li[1]/a/span
waitForElementPresent link=Manage Pages
clickAndWait link=Manage Pages
waitForElementPresent //div[@id='_88_layoutsTreeOutput']/ul/li[2]/ul/li[3]/a/span
clickAndWait //div[@id='_88_layoutsTreeOutput']/ul/li[2]/ul/li[3]/a/span
waitForElementPresent link=Page
clickAndWait link=Page
waitForElementPresent //input[@value='Delete']
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=Journal Content Test Page