TearDownTest
waitForElementPresent link=WD Setup Test Page
clickAndWait link=WD Setup Test Page
waitForElementPresent link=All Pages
clickAndWait link=All Pages
click //td[5]/ul/li/strong/span
waitForElementPresent //li[6]/nobr/a
clickAndWait //li[6]/nobr/a
assertConfirmation Are you sure you want to delete this?
assertElementNotPresent //td[1]/a
assertTextPresent Your request processed successfully.
waitForElementPresent //img[@alt='Remove']
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
assertElementNotPresent link=Configuration
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 //li[2]/ul/li[3]/a/span
clickAndWait //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 WD Setup Test Page
waitForElementPresent link=Wiki Display Test Page
clickAndWait link=Wiki Display Test Page
waitForElementPresent //img[@alt='Remove']
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
assertElementNotPresent link=Configuration
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 //li[2]/ul/li[3]/a/span
clickAndWait //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 Wiki Display Test Page