SavePageTypeWebContentTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Web Content
storeText //tr[@class='portlet-section-body results-row last']/td[2] articleID
open /web/guest/home/
waitForElementPresent link=Manage Pages
clickAtAndWait link=Manage Pages
clickAtAndWait //div[@id='_88_layoutsTreeOutput']/ul/li[2]/ul/li[2]/a/span
select _88_type label=Web Content
waitForNotVisible TypeSettingsProperties(linkToLayoutId)
assertNotVisible TypeSettingsProperties(linkToLayoutId)
waitForNotVisible _88_copyLayoutId
assertNotVisible _88_copyLayoutId
type TypeSettingsProperties(article-id) ${articleID}
clickAtAndWait //input[@value='Save']
assertTextPresent Your request processed successfully.
open /web/guest/home/
waitForElementPresent link=Manage Pages Test Page
clickAtAndWait link=Manage Pages Test Page
assertTextPresent This is a test Web Content
assertElementPresent link=Manage Pages Test Page
assertElementNotPresent //td[@class='panel-page-content panel-page-frontpage']/h2
assertElementNotPresent //td[@class='panel-page-content panel-page-frontpage']/div
assertTextNotPresent Please select a tool from the left menu.
assertElementNotPresent //td[@class='lfr-column thirty']/div/div/div/div/span
assertElementNotPresent //td[@class='lfr-column seventy']/div/div/div/div/span
assertTextNotPresent Sign In
assertTextNotPresent Hello World
assertElementNotPresent //a[@id='logo']