Reorder some steps in the comments feature to make it more consistent.
This commit is contained in:
parent
44ca687100
commit
8d7aa1826c
1 changed files with 30 additions and 29 deletions
|
|
@ -1,7 +1,7 @@
|
|||
@javascript
|
||||
Feature: commenting
|
||||
In order to tell alice how great the picture of her dog is
|
||||
As alice's friend
|
||||
In order to tell Alice how great the picture of her dog is
|
||||
As Alice's friend
|
||||
I want to comment on her post
|
||||
|
||||
Background:
|
||||
|
|
@ -11,13 +11,14 @@ Feature: commenting
|
|||
When I sign in as "alice@alice.alice"
|
||||
And I am on the home page
|
||||
And I expand the publisher
|
||||
And I fill in "status_message_fake_text" with "Look at this dog"
|
||||
And I attach the file "spec/fixtures/button.png" to hidden element "file" within "#file-upload"
|
||||
And I fill in "status_message_fake_text" with "Look at this dog"
|
||||
And I press "Share"
|
||||
And I wait for the ajax to finish
|
||||
And I follow "Home"
|
||||
Then I should see "Look at this dog" within ".stream_element"
|
||||
Then I should see a "img" within ".stream_element div.photo_attachments"
|
||||
And I log out
|
||||
And I should see a "img" within ".stream_element div.photo_attachments"
|
||||
Then I log out
|
||||
|
||||
Scenario: comment on a post from within a user's stream
|
||||
When I sign in as "bob@bob.bob"
|
||||
|
|
|
|||
Loading…
Reference in a new issue