TearDownTest
waitForElementPresent link=Breadcrumb Test Page
clickAndWait link=Breadcrumb Test Page
clickAndWait //div[2]/div/div/div/ul/li/a
waitForElementPresent //img[@alt='Remove']
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
assertElementNotPresent //input[@value='Add Blog Entry']
waitForElementPresent //img[@alt='Remove']
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
assertTextNotPresent Breadcrumb Test Page ยป Child Test Page
waitForElementPresent link=Breadcrumb Test Page
clickAndWait link=Breadcrumb Test Page
waitForElementPresent //img[@alt='Remove']
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
assertElementNotPresent //div[2]/div/div/a
waitForElementPresent //img[@alt='Remove']
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
assertElementNotPresent //div/h3/a
waitForElementPresent //div[2]/ul/li[1]/a/span
clickAndWait //div[2]/ul/li[1]/a/span
waitForElementPresent link=Manage Pages
clickAndWait link=Manage Pages
clickAndWait //li[2]/ul/li[3]/ul/li/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.
assertElementNotPresent //li[2]/ul/li[3]/ul/li/a/span
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.
assertElementNotPresent //div/h3/a
waitForElementPresent //div[2]/ul/li[1]/a/span
clickAndWait //div[2]/ul/li[1]/a/span
assertElementNotPresent link=Breadcrumb Test Page