ConfigureCommunityStagingTypeLocalLiveNoDLTest
open /web/guest/home/
waitForElementPresent link=Control Panel Control Panel
clickAtAndWait link=Control Panel Control Panel
clickAtAndWait link=Communities Communities
type //input[@id='_134_name'] Community Name
clickAtAndWait //input[@value='Search'] Search
assertText //strong/a Actions
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
assertText //ul[1]/li[3]/span/span/a Settings
clickAndWait //ul[1]/li[3]/span/span/a Settings
clickAndWait link=Staging Staging
select //select[@id='_134_stagingType'] label=Local Live
waitForVisible //input[@id='_134_staged-portlet_20Checkbox'] Document Library
store eval(selenium.isChecked('_134_staged-portlet_20Checkbox')) documentLibraryChecked
gotoIf !${documentLibraryChecked} DocumentLibraryNotChecked
assertChecked //input[@id='_134_staged-portlet_20Checkbox'] Document Library
clickAt //input[@id='_134_staged-portlet_20Checkbox'] Document Library
assertNotChecked //input[@id='_134_staged-portlet_20Checkbox'] Document Library
label DocumentLibraryNotChecked
clickAtAndWait //input[@value='Save'] Save
assertConfirmation Are you sure you want to activate local staging for Community Name?
assertText //div[@class='portlet-msg-success'] Your request processed successfully.
assertNotChecked //input[@id='_134_staged-portlet_20Checkbox'] Document Library