AddPortletTest
waitForElementPresent link=Sample Spring Test Page
clickAndWait link=Sample Spring Test Page
click link=Add Application
waitForElementPresent //div[@title="Description Upload"]
click //div[@title="Description Upload"]/p/a
waitForElementPresent //img[@alt='Configuration']
waitForElementPresent selectedPet
click link=Add Application
waitForElementPresent //div[@title="Pet Sites"]
click //div[@title="Pet Sites"]/p/a
waitForElementPresent link=Edit Mode
click link=Add Application
waitForElementPresent //div[@title="Pets"]
click //div[@title="Pets"]/p/a
waitForElementPresent link=Add a Pet
click link=Add Application
waitForElementPresent //div[@title="Portlet Modes"]
click //div[@title="Portlet Modes"]/p/a
waitForElementPresent link=View Mode
click link=Add Application
waitForElementPresent //div[@title="Welcome"]
click //div[@title="Welcome"]/p/a
waitForTextPresent Welcome to the Pet Portal!