PreviewFrontPageChildPageTest
open /web/guest/home/
waitForElementPresent link=Wiki Test Page
clickAtAndWait link=Wiki Test Page
clickAtAndWait link=Add Child Page
type _36_title Front Page Child Page Test
type _36_content This is a front page child page test.
waitForVisible //span[@class='aui-icon-search aui-icon']
clickAtAndWait //input[@value='Preview']
assertText //div[@class='preview']/div This is a front page child page test.
clickAtAndWait //input[@value='Cancel']
assertTextNotPresent Your request processed successfully.
assertElementNotPresent link=Front Page Child Page Test
open /web/guest/home/
waitForElementPresent link=Wiki Test Page
clickAtAndWait link=Wiki Test Page
clickAtAndWait link=All Pages
assertElementNotPresent link=Front Page Child Page Test