AddStructureImageAssociationTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Communities
type _134_name Web Content Image Association Community
clickAtAndWait //input[@value='Search']
clickAtAndWait //tr[@class='portlet-section-body results-row']/td[1]/a
clickAtAndWait link=Control Panel
clickAtAndWait link=Web Content
clickAtAndWait link=Structures
clickAtAndWait //input[@value='Add Structure']
type _15_newStructureId test_image
type _15_name Image Structure Test
type _15_description This is an image structure test.
clickAtAndWait //input[@value='Add Row']
type _15_structure_el0_name image-gallery-test
select _15_structure_el0_type label=Image Gallery
clickAtAndWait //input[@value='Add Row']
type _15_structure_el0_name image-test
select _15_structure_el0_type label=Image
clickAtAndWait //input[@value='Add Row']
select _15_structure_el0_type label=Text
type _15_structure_el0_name text-test
clickAtAndWait //input[@value='Save']
assertTextPresent Your request processed successfully.
assertText //tr[@class='portlet-section-body results-row']/td[2] TEST_IMAGE
assertText //tr[@class='portlet-section-body results-row']/td[3] Image Structure Test
This is an image structure test.