Commit 18a21818 authored by Aaron Wells's avatar Aaron Wells
Browse files

Updating friend request Behat test (Bug 1465462)

Change-Id: Ie4275439efc528bb39615204d5c4cd4c83ee33d6
parent 5ec8feb9
......@@ -21,12 +21,19 @@ And I fill in "Would you like to be my friend?" for "Message"
And I press "Request friendship"
And I follow "Become Admin User again"
And I am on homepage
# In my inbox block I'll see "New friend request"
And I follow "New friend request"
And I follow "Requests"
# Clicking on the notification title to expand it
And I should see "Would you like to be my friend?"
# At the bottom of the notification is a "More..." link to see the
# details of the friend request
And I follow "More..."
And I press "Approve request"
And I should see "Accepted friend request"
And I follow "Log in as userA"
# In userA's inbox block I'll see a "Friend request accepted" notification
And I follow "Friend request accepted"
# Expanding it shows me another "More..." link which takes me to the inbox
And I follow "More..."
And I should not see "Not Found"
And I should see "Remove from friends"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment