| SRl2_AddAsFriendTest | ||
| open | /web/socialrelationsn1/home/ | |
| waitForVisible | link=Summary Test Page | Summary Test Page |
| clickAtAndWait | link=Summary Test Page | Summary Test Page |
| assertText | //p[@class='add-as-friend']/span/a[2] | Add as Friend |
| clickAtAndWait | //p[@class='add-as-friend']/span/a[2] | Add as Friend |
| assertText | //div[@class='portlet-msg-success'] | Your request processed successfully. |
| assertText | //div[@class='portlet-msg-info add-as-friend pending'] | Friend Requested |