TearDownTest
waitForElementPresent link=Shopping Test Page
clickAndWait link=Shopping Test Page
clickAndWait link=Coupons
waitForElementPresent _34_allRowIds
click _34_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected coupons.
clickAndWait link=Orders
waitForElementPresent _34_allRowIds
click _34_allRowIds
clickAndWait //input[@value='Delete']
assertConfirmation Are you sure you want to delete the selected orders?
clickAndWait link=Return to Full Page
clickAndWait //img[@alt='Configuration']
clickAndWait link=Archived
waitForElementPresent //strong/span
click //strong/span
clickAndWait //img[@alt='Delete']
assertConfirmation Are you sure you want to delete this?
clickAndWait link=Return to Full Page
waitForElementPresent //td[4]/ul/li/strong/span
click //td[4]/ul/li/strong/span
clickAndWait //body/div[2]/ul/li[3]/a
assertConfirmation Are you sure you want to delete this?
waitForElementPresent //td[4]/ul/li/strong/span
click //td[4]/ul/li/strong/span
clickAndWait link=Delete
assertConfirmation Are you sure you want to delete this?
clickAndWait //div[2]/ul/li[1]/a/span
clickAndWait //li[2]/a[2]
clickAndWait link=Display Order
select _2_layoutIdsBox label=Shopping Test Page
waitForElementPresent //div[@id='portlet-wrapper-2']/div[2]/div/div/form/table/tbody/tr/td[2]/table/tbody/tr/td[2]/a[3]/img
click //div[@id='portlet-wrapper-2']/div[2]/div/div/form/table/tbody/tr/td[2]/table/tbody/tr/td[2]/a[3]/img
clickAndWait //input[@value='Update Display Order']
clickAndWait link=Return to Full Page