TearDownTest
waitForElementPresent link=JA Setup Test Page
clickAndWait link=JA Setup Test Page
waitForElementPresent link=Articles
clickAndWait link=Articles
waitForElementPresent _15_rowIds
click _15_rowIds
waitForElementPresent //input[@value='Delete']
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected articles?
assertElementNotPresent link=JA Setup Test Article
assertTextPresent Your request processed successfully.
waitForElementPresent link=Return to Full Page
clickAndWait link=Return to Full Page
waitForElementPresent //img[@alt='Remove']
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
assertElementNotPresent //input[@value='Add Article']
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=JA Setup Test Page
waitForElementPresent link=Journal Articles Test Page
clickAndWait link=Journal Articles Test Page
waitForElementPresent //img[@alt='Remove']
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
assertTextNotPresent No articles were found.
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 Articles Test Page