TearDownConfigurationTest
open /web/guest/home/
waitForElementPresent link=Document Library Test Page
clickAtAndWait link=Document Library Test Page
store eval(selenium.isElementPresent('//span[3]/a/img')) portletPresent
gotoIf !${portletPresent} PortletNotPresent
click //img[@alt='Remove']
assertConfirmation Are you sure you want to remove this component?
label PortletNotPresent
waitForElementNotPresent //td[1]/div/div[1]/div
assertElementNotPresent //td[1]/div/div[1]/div
open /web/guest/home/
waitForElementPresent link=Document Library Test Page
clickAtAndWait link=Document Library Test Page
clickAt link=Add Application
waitForElementPresent //div[@title='Document Library']/p/a
clickAt //div[@title='Document Library']/p/a
waitForElementPresent //td[1]/div/div[1]/div
assertElementPresent //td[1]/div/div[1]/div