Make connects_users.feature slightly less flaky

This commit is contained in:
Sarah Mei 2011-07-31 12:40:36 -07:00
parent 8134a4fc6f
commit f0ecef7f1a

View file

@ -93,23 +93,18 @@ Feature: sending and receiving requests
Then I should see "Mention" Then I should see "Mention"
Then I should not see "Message" Then I should not see "Message"
Scenario: should see "Add to aspect" and not see mention if on a follower's page Scenario: interacting with a follower's profile page
When I sign in as "alice@alice.alice" Given I sign in as "alice@alice.alice"
And I am on "bob@bob.bob"'s page And I am on "bob@bob.bob"'s page
Then I should see "Add to aspect" Then I should see "Add to aspect"
Then I should not see "Mention" And I should not see "Mention"
Then I should not see "Message" And I should not see "Message"
Scenario: should see "Add to aspect" & mention & message on mutual contacts When I add the person to my 1st aspect
When I sign in as "alice@alice.alice"
And I am on "bob@bob.bob"'s page
And I add the person to my 1st aspect
And I add the person to my 2nd aspect And I add the person to my 2nd aspect
# should wait for ajax to finish here, but infinite scroll is screwing that up.
And I am on "bob@bob.bob"'s page When I go to "bob@bob.bob"'s page
Then I should see "In 2 aspects" Then I should see "In 2 aspects"
Then I should see "Mention" And I should see "Mention"
Then I should see "Message" And I should see "Message"