AddPortletTest
open /web/guest/home/
waitForVisible link=Sample WAP Test Page
clickAndWait link=Sample WAP Test Page
clickAt _145_addApplication
pause 5000
waitForVisible layout_configuration_content
typeKeys layout_configuration_content s
waitForVisible //div[@title='Sample WAP Photo Gallery']/p/a
clickAt //div[@title='Sample WAP Photo Gallery']/p/a
waitForVisible //section
assertVisible //section
clickAt _145_addApplication
pause 5000
waitForVisible layout_configuration_content
type layout_configuration_content
typeKeys layout_configuration_content s
waitForVisible //div[@title='Sample WAP Video']/p/a
clickAt //div[@title='Sample WAP Video']/p/a
waitForVisible //section
assertVisible //section
waitForVisible //div[2]/section
assertVisible //div[2]/section