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