added cuc test for commenting on a status message show page
This commit is contained in:
parent
fa174f8eb2
commit
f1f0d6e2ea
1 changed files with 14 additions and 0 deletions
|
|
@ -75,3 +75,17 @@ Feature: commenting
|
||||||
Then the first comment field should be closed
|
Then the first comment field should be closed
|
||||||
When I focus the comment field
|
When I focus the comment field
|
||||||
Then the first comment field should be open
|
Then the first comment field should be open
|
||||||
|
|
||||||
|
Scenario: comment on a status show page
|
||||||
|
When I sign in as "bob@bob.bob"
|
||||||
|
And I am on "alice@alice.alice"'s page
|
||||||
|
Then I should see "Look at this dog"
|
||||||
|
When I follow "less than a minute ago"
|
||||||
|
Then I should see "Look at this dog"
|
||||||
|
And I fill in "text" with "I think thats a cat"
|
||||||
|
And I press "comment"
|
||||||
|
And I wait for the ajax to finish
|
||||||
|
When I am on "alice@alice.alice"'s page
|
||||||
|
Then I should see "I think thats a cat"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue