| CancelPopupTest | ||
| clickAndWait | link=Structures | |
| clickAndWait | //input[@value='Add Structure'] | |
| click | _15_editorButton | |
| waitForElementPresent | _15_xsdContent | |
| assertElementPresent | //div[@class="ui-dialog-container"] | |
| click | //input[@value='Cancel' and @type='button' and @onclick='Liferay.Popup.close(this);'] | |
| pause | 2000 | |
| assertElementNotPresent | _15_xsdContent | |
| waitForElementPresent | link=Return to Full Page | |
| clickAndWait | link=Return to Full Page | |