AddWCWebContentTemplateWCDTest
open /web/guest/home/
waitForElementPresent link=Web Content Display Test Page Web Content Display Test Page
clickAtAndWait link=Web Content Display Test Page Web Content Display Test Page
clickAtAndWait //img[@alt='Add Web Content'] Add Web Content
type //input[@id='_15_title'] Web Content Name
click //fieldset/div/div/span/span/input Select Template
assertConfirmation Selecting a template will change the structure, available input fields, and available templates? Do you want to proceed?
waitForPopUp template 30000
selectWindow template
pause 5000
waitForElementPresent //td[1]/a
click //td[1]/a
selectWindow null
pause 5000
type //input[@id='page-name'] Web Content Page Name
type //input[@id='page-description'] Web Content Page Description
assertPartialText //fieldset/div/div/div/div/span Test Localized Structure
clickAtAndWait //input[@value='Publish'] Publish
assertText //td[1] Web Content Page Name
assertText //td[2] Web Content Page Description