Test_SNF_PRL_38_EditPropertiesForGroup
open /portal/public/classic/
windowMaximize
click link=Sign in
type username root
type password gtn
clickAndWait //div[@id='UIPortalLoginFormAction']
waitForElementPresent link=Group
clickAndWait link=Group
echo -- View before change priority--
waitForElementPresent link=Group
mouseOver link=Group
echo -- Current postion : link=Organization
waitForElementPresent //a[contains(text(),'Organization')]
verifyElementPresent //a[contains(text(),'Organization')]
mouseOver link=New Staff
mouseOver link=Users and groups management
echo -- Change priority--
clickAndWait link=Group
waitForElementPresent //td/div[text()='Executive Board']/ancestor::tr/td/a[text()='Edit Properties']
click //td/div[text()='Executive Board']/ancestor::tr/td/a[text()='Edit Properties']
select priority label=6
waitForElementPresent link=Save
click link=Save
mouseOver link=Group
echo -- New postion : link=Organization
verifyElementPresent link=New Staff
verifyElementPresent link=Users and groups management
echo -- Return to default priority--
clickAndWait link=Group
waitForElementPresent //td/div[text()='Executive Board']/ancestor::tr/td/a[text()='Edit Properties']
click //td/div[text()='Executive Board']/ancestor::tr/td/a[text()='Edit Properties']
select priority label=2
waitForElementPresent link=Save
click link=Save
mouseOver link=Group
verifyElementPresent link=New Staff
verifyElementPresent link=Users and groups management
waitForElementPresent link=Sign out
clickAndWait link=Sign out