| AddStructureExpandoTest | ||
| 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 | link=Structures | |
| clickAtAndWait | //input[@value='Add Structure'] | |
| type | _15_newStructureId | test_expando |
| type | _15_name | Expando Structure Test |
| type | _15_description | This is an expando structure test. |
| clickAt | _15_editorButton | |
| waitForVisible | _15_xsdContent | |
| pause | 5000 | |
| type | _15_xsdContent | |
| click | //input[@value='Update'] | |
| waitForElementPresent | _15_structure_el0_name | |
| assertElementPresent | _15_structure_el0_name | |
| pause | 5000 | |
| clickAtAndWait | //input[@value='Save'] | |
| assertTextPresent | Your request processed successfully. | |
| assertText | //tr[@class='portlet-section-body results-row last']/td[2] | TEST_EXPANDO |
| assertText | //tr[@class='portlet-section-body results-row last']/td[3] | Expando Structure Test This is an expando structure test. |