SOC_Fun_SPC_04_002_ShowEditFormByManagerOfSpace_OK
echo -- SOC_FUN_SPC_04_002_ShowEditFormByManagerOfSpace--
open /socialdemo/public/classic/
echo -- sign in--
click link=Sign in
waitForElementPresent username
type username joh
type username john
type password gtn
clickAndWait //div[@id='UIPortalLoginFormAction']/div/div/div/a
echo -- access space page --
clickAndWait link=Spaces
echo -- add new space--
click link=Add New Space
echo -- enter name and description for space --
waitForElementPresent name
type name AccessSpaceByAdmin
type description it is for test accessing by manager of the space
click link=Create
pause 2000
echo -- access space---
waitForElementPresent //div[@id='UIManageMySpaces']/div[2]/div[2]/div[1]/div[1]/div[1]/a
clickAndWait //div[@id='UIManageMySpaces']/div[2]/div[2]/div[1]/div[1]/div[1]/a
echo -- access space setting portlet
clickAndWait //div[@id='UISpaceMenu']/div/div[5]/a/span
echo -- verify all tab on space setting portlet--
verifyTextPresent Settings
verifyTextPresent Visibility
verifyTextPresent Members
verifyTitle AccessSpaceByAdmin - Space Setting
echo -- back to space porlet--
clickAndWait link=Spaces
echo -- delete space to clean data--
click //div[@id='UIManageMySpaces']/div[2]/div[2]/div[1]/div[1]/a[1]
assertConfirmation Are you sure to delete this space? This can not be undone. All page navigations and this group will be deleted, too.
echo -- sign out--
clickAndWait link=Sign out