AddWebContentExpandoTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Communities
type _134_name Expando Web Content Community
clickAtAndWait //input[@value='Search']
clickAtAndWait //tr[@class='portlet-section-body results-row last']/td[1]/a
clickAtAndWait link=Control Panel
clickAtAndWait link=Web Content
clickAtAndWait //input[@value='Add Web Content']
type _15_title Expando Web Content Test
clickAt //input[@value='Select']
assertConfirmation Selecting a new structure will change the available input fields and available templates? Do you want to proceed?
waitForPopUp structure 30000
selectWindow name=structure
waitForElementPresent link=TEST_EXPANDO
click link=TEST_EXPANDO
selectWindow null
waitForText _15_structureName Expando Structure Test
assertText _15_structureName Expando Structure Test
clickAtAndWait //input[@value='Save and Approve']
assertTextPresent Your request processed successfully.
assertText //tr[@class='portlet-section-body results-row last']/td[3] Expando Web Content Test