CleanUpTest
clickAndWait link=Theme Test Page
waitForElementPresent link=Delete
clickAndWait link=Delete
assertConfirmation Are you sure you want to delete this?
pause 3000
waitForElementPresent //img[@alt='Remove']
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
waitForElementPresent //img[@alt='Remove']
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
open /user/joebloggs/home
waitForElementPresent link=Manage Pages
clickAndWait link=Manage Pages
clickAndWait //div[@id='_88_layoutsTreeOutput']/ul/li[2]/a/span
clickAndWait link=Display Order
pause 3000
select _88_layoutIdsBox label=Theme Test Page
click //div[@id='portlet-wrapper-88']/div[2]/div/div/form/table/tbody/tr/td[2]/table/tbody/tr/td[2]/a[3]/img
pause 3000
select _88_layoutIdsBox label=Theme Test Page 2
click //div[@id='portlet-wrapper-88']/div[2]/div/div/form/table/tbody/tr/td[2]/table/tbody/tr/td[2]/a[3]/img
pause 3000
select _88_layoutIdsBox label=Theme Test Page 3
click //div[@id='portlet-wrapper-88']/div[2]/div/div/form/table/tbody/tr/td[2]/table/tbody/tr/td[2]/a[3]/img
pause 3000
select _88_layoutIdsBox label=Theme Test Page 4
click //div[@id='portlet-wrapper-88']/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=Look and Feel
clickAndWait //input[@name='_88_themeId' and @value='classic']
open /user/joebloggs/home