| AddStructureExpandoTest | ||
| open | /user/joebloggs/home/ | |
| waitForElementPresent | link=Communities I Own | |
| clickAtAndWait | link=Communities I Own | |
| type | _29_name | Expando Web Content Community |
| clickAtAndWait | //input[@value='Search Communities'] | |
| clickAtAndWait | //tr[@class='portlet-section-body results-row']/td[1]/a | |
| clickAtAndWait | link=Journal Page | |
| 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 | |
| type | _15_xsdContent | |
| click | //input[@value='Update'] | |
| waitForElementPresent | _15_structure_el0_name | |
| assertElementPresent | _15_structure_el0_name | |
| clickAtAndWait | //input[@value='Save'] | |
| assertTextPresent | Your request processed successfully. | |
| assertText | //tr[@class='portlet-section-body results-row']/td[2] | TEST_EXPANDO |
| assertText | //tr[@class='portlet-section-body results-row']/td[3] | Expando Structure Test This is an expando structure test. |