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 //td[2]/a Open
clickAtAndWait link=Control Panel
clickAtAndWait link=Web Content
clickAtAndWait //input[@value='Add Web Content']
type _15_title Expando Web Content Test
click _15_changeStructureBtn
assertConfirmation Selecting a new structure will change the available input fields and available templates? Do you want to proceed?
waitForPopUp ChangeStructure 30000
selectWindow name=ChangeStructure
waitForElementPresent link=TEST_EXPANDO
click link=TEST_EXPANDO
selectWindow null
waitForText _15_structureNameLabel Expando Structure Test (Use Default)
assertText _15_structureNameLabel Expando Structure Test (Use Default)
clickAtAndWait //input[@value='Publish']
assertText //section/div/div/div/div Your request processed successfully.
assertElementPresent //td[2]/a Web Cont
assertText //td[3]/a Expando Web Content Test
assertText //td[4]/a 1.0
assertText //td[5]/a Approved
assertElementPresent //td[6]/a 10/5/10 8:48 PM
assertElementPresent //td[7]/a 10/5/10 8:48 PM
assertText //td[8]/a Joe Bloggs