Take the :first restriction off of posts.feature
This commit is contained in:
parent
f9f583058a
commit
5d27b8047e
1 changed files with 6 additions and 6 deletions
|
|
@ -31,11 +31,11 @@ Feature: posting
|
||||||
And I press "Share"
|
And I press "Share"
|
||||||
And I wait for the ajax to finish
|
And I wait for the ajax to finish
|
||||||
And I follow "Your Aspects"
|
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
|
Then I log out
|
||||||
And I sign in as "alice@alice.alice"
|
And I sign in as "alice@alice.alice"
|
||||||
And I go to "bob@bob.bob"'s page
|
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
|
Scenario: post a photo with text
|
||||||
|
|
@ -45,13 +45,13 @@ Feature: posting
|
||||||
And I press "Share"
|
And I press "Share"
|
||||||
And I wait for the ajax to finish
|
And I wait for the ajax to finish
|
||||||
And I follow "Your Aspects"
|
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"
|
||||||
And I should see "Look at this dog" within ".stream_element:first"
|
And I should see "Look at this dog" within ".stream_element"
|
||||||
Then I log out
|
Then I log out
|
||||||
And I sign in as "alice@alice.alice"
|
And I sign in as "alice@alice.alice"
|
||||||
And I go to "bob@bob.bob"'s page
|
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"
|
||||||
And I should see "Look at this dog" within ".stream_element:first"
|
And I should see "Look at this dog" within ".stream_element"
|
||||||
|
|
||||||
Scenario: hide a post
|
Scenario: hide a post
|
||||||
Given I expand the publisher
|
Given I expand the publisher
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue