ConfigurePortletHideFolderSubfoldersTest
open /web/guest/home/
waitForElementPresent link=Document Library Test Page
clickAtAndWait link=Document Library Test Page
clickAt //strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Configuration
click //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Configuration
waitForVisible _86_showSubfoldersCheckbox
store eval(selenium.isChecked('_86_showSubfoldersCheckbox')) showSubfoldersChecked
gotoIf !${showSubfoldersChecked} showSubfoldersUnchecked
clickAt _86_showSubfoldersCheckbox
label showSubfoldersUnchecked
clickAtAndWait //input[@value='Save']
assertText //div[@id='p_p_id_86_']/div/div You have successfully updated the setup.
open /web/guest/home/
waitForElementPresent link=Document Library Test Page
clickAtAndWait link=Document Library Test Page
assertTextNotPresent Test1 Folder1 This is test1 folder1.
assertElementNotPresent link=Test1 Subfolder1