AddFrontPageCreoleInternalLinksTest
open /web/guest/home/
waitForElementPresent link=Wiki Test Page
clickAtAndWait link=Wiki Test Page
clickAtAndWait link=This page is empty. Edit it to add some text.
pause 5000
clickAt //span[@id='cke_33_label'] Source
waitForVisible //td[@id='cke_contents__36_editor']/textarea IFrame
type //td[@id='cke_contents__36_editor']/textarea [[Link to a page]]
clickAt //span[@id='cke_33_label'] Source
pause 5000
clickAtAndWait //input[@value='Publish']
assertTextPresent Your request processed successfully.
assertText //div[@class='wiki-body']/p/a Link to a page
clickAtAndWait //div[@class='wiki-body']/p/a Link to a page
waitForText //div[@class='portlet-msg-info'] This page does not exist yet. Use the form below to create it.
assertText //div[@class='portlet-msg-info'] This page does not exist yet. Use the form below to create it.