Test_SOC_SPC_11_03.001_EditPropertiesOfGroupNavigation
echo --Test_SOC_SPC_11_03.001_EditPropertiesOfGroupNavigation.html--
open /portal/public/classic/
click link=Sign in
waitForElementPresent username
type username root
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
waitForElementPresent name
type name SpaceNavigation
type description this space is created for edit space navigation
click link=Create
pause 2000
echo -- access Group navigation page-
waitForElementPresent link=Group
clickAndWait link=Group
clickAndWait link=Group
echo --- edit Navigation properties of Space navigation--
waitForElementPresent //div[@id='UIGroupNavigationGrid']/table[6]/tbody/tr/td[3]/a[2]
click //div[@id='UIGroupNavigationGrid']/table[6]/tbody/tr/td[3]/a[2]
echo -- change priority of navigation to 3--
waitForElementPresent priority label=3
select priority label=3
echo -- Save all changed--
waitForElementPresent link=Save
click link=Save
pause 2000
echo --- re-open Navigation properties of Space navigation--
waitForElementPresent //div[@id='UIGroupNavigationGrid']/table[6]/tbody/tr/td[3]/a[2]
click //div[@id='UIGroupNavigationGrid']/table[6]/tbody/tr/td[3]/a[2]
echo -- Verify: Priority is 3--
verifySelectedValue priority 3
echo -- back to space page--
clickAndWait link=Spaces
echo -- Delete space to clean data--
waitForElementPresent //div[@id='UIManageMySpaces']/div[2]/div[2]/div[1]/div[1]/a[1]
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.
clickAndWait link=Sign out