Test_SNF_SOC_22_Demo_OutgoingList
open /portal/public/intranet/
windowMaximize
echo -- Outgoing list
click //div[contains(text(),'Sign in')]
waitForElementPresent username
type username root
type password gtn
clickAndWait //div[@id='UIPortalLoginFormAction']//div[@class='ButtonMiddle']/a
waitForElementPresent link=Directory
clickAndWait link=Directory
echo -- Send invitation to a user
waitForElementPresent //a[@title='Invite Mary Kelly']
click //a[@title='Invite Mary Kelly']
waitForTextPresent [Invited to connect]
verifyTextPresent [Invited to connect]
echo -- Remove Invitaion
waitForElementPresent link=Connections
click link=Connections
waitForElementPresent link=Outgoing
click link=Outgoing
pause 500
waitForElementPresent link=Mary Kelly
verifyElementPresent link=Mary Kelly
click //div[@id='UIPendingRelation']/div/div/div[3]/div[2]/div/a
waitForElementPresent link=Logout
clickAndWait link=Logout