diff --git a/features/posts.feature b/features/posts.feature index ed6b226c7..fd09e434f 100644 --- a/features/posts.feature +++ b/features/posts.feature @@ -31,11 +31,11 @@ Feature: posting And I press "Share" And I wait for the ajax to finish And I follow "Your Aspects" - Then I should see a "img" within ".stream_element:first div.photo_attachments" + Then I should see a "img" within ".stream_element div.photo_attachments" Then I log out And I sign in as "alice@alice.alice" And I go to "bob@bob.bob"'s page - Then I should see a "img" within ".stream_element:first div.photo_attachments" + Then I should see a "img" within ".stream_element div.photo_attachments" Scenario: post a photo with text @@ -45,13 +45,13 @@ Feature: posting And I press "Share" And I wait for the ajax to finish And I follow "Your Aspects" - Then I should see a "img" within ".stream_element:first div.photo_attachments" - And I should see "Look at this dog" within ".stream_element:first" + Then I should see a "img" within ".stream_element div.photo_attachments" + And I should see "Look at this dog" within ".stream_element" Then I log out And I sign in as "alice@alice.alice" And I go to "bob@bob.bob"'s page - Then I should see a "img" within ".stream_element:first div.photo_attachments" - And I should see "Look at this dog" within ".stream_element:first" + Then I should see a "img" within ".stream_element div.photo_attachments" + And I should see "Look at this dog" within ".stream_element" Scenario: hide a post Given I expand the publisher