AddPageIGTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Communities
type _134_name Web Content Image Association Community
clickAtAndWait //input[@value='Search']
clickAt //strong/a
waitForElementPresent link=Manage Pages
clickAtAndWait link=Manage Pages
pause 5000
type _134_name_en_US Image Gallery Page
clickAtAndWait //input[@value='Add Page']
waitForVisible _134_layoutsTreeOutput
store eval(selenium.isElementPresent('//li/ul/li/div/div[3]/a')) pagePresent
gotoIf ${pagePresent} PagePresent
clickAt //li/div/div[1]
label PagePresent
waitForVisible //li/ul/li/div/div[3]/a
assertText //li/ul/li/div/div[3]/a Image Gallery Page