ActivateStagingOrganizationTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Organizations
type _126_keywords Web Content Display
clickAtAndWait //input[@value='Search']
clickAt //strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Manage Pages
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Manage Pages
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Manage Pages
clickAtAndWait //li[@id='_126_tabs1settingsTabsId']/span/span/a Settings
clickAtAndWait link=Staging
select _126_stagingType label=Local Live
waitForText //div[4]/fieldset/div/div[1] When a portlet is checked, its data will be copied to staging and it may not be possible to edit them directly in live. When unchecking a portlet make sure that any changes done in staging are published first, because otherwise they might be lost.
assertText //div[4]/fieldset/div/div[1] When a portlet is checked, its data will be copied to staging and it may not be possible to edit them directly in live. When unchecking a portlet make sure that any changes done in staging are published first, because otherwise they might be lost.
clickAtAndWait //input[@value='Save']
assertConfirmation Are you sure you want to activate local staging for Organization Staging Organization Web Content Display?
assertText //section/div/div/div/div Your request processed successfully.
assertSelectedLabel _126_stagingType Local Live