AddWDFrontPageChildPageNameInvalidTest
open /web/guest/home/
waitForElementPresent link=Wiki Display Test Page
clickAtAndWait link=Wiki Display Test Page
clickAtAndWait link=Add Child Page
type //span/input Test@
type //textarea This is a front page child page test.
waitForVisible //span[@class='aui-icon-search aui-icon']
clickAtAndWait //input[@value='Save']
assertTextPresent You have entered invalid data. Please try again.
assertTextPresent Please enter a valid title.
assertTextPresent This page does not exist yet and the title is not valid.
open /web/guest/home/
waitForElementPresent link=Wiki Display Test Page
clickAtAndWait link=Wiki Display Test Page
clickAtAndWait link=Add Child Page
type //span/input Test%
type //textarea This is a front page child page test.
waitForVisible //span[@class='aui-icon-search aui-icon']
clickAtAndWait //input[@value='Save']
assertTextPresent You have entered invalid data. Please try again.
assertTextPresent Please enter a valid title.
assertTextPresent This page does not exist yet and the title is not valid.
open /web/guest/home/
waitForElementPresent link=Wiki Display Test Page
clickAtAndWait link=Wiki Display Test Page
clickAtAndWait link=Add Child Page
type //span/input Test&
type //textarea This is a front page child page test.
waitForVisible //span[@class='aui-icon-search aui-icon']
clickAtAndWait //input[@value='Save']
assertTextPresent You have entered invalid data. Please try again.
assertTextPresent Please enter a valid title.
assertTextPresent This page does not exist yet and the title is not valid.
open /web/guest/home/
waitForElementPresent link=Wiki Display Test Page
clickAtAndWait link=Wiki Display Test Page
clickAtAndWait link=Add Child Page
type //span/input Test/
type //textarea This is a front page child page test.
waitForVisible //span[@class='aui-icon-search aui-icon']
clickAtAndWait //input[@value='Save']
assertTextPresent You have entered invalid data. Please try again.
assertTextPresent Please enter a valid title.
assertTextPresent This page does not exist yet and the title is not valid.
open /web/guest/home/
waitForElementPresent link=Wiki Display Test Page
clickAtAndWait link=Wiki Display Test Page
clickAtAndWait link=Add Child Page
type //span/input Test?
type //textarea This is a front page child page test.
waitForVisible //span[@class='aui-icon-search aui-icon']
clickAtAndWait //input[@value='Save']
assertTextPresent You have entered invalid data. Please try again.
assertTextPresent Please enter a valid title.
assertTextPresent This page does not exist yet and the title is not valid.