diff --git a/features/comments.feature b/features/comments.feature index ea5e67c1ca6a072e2bbe6959096328e02060ccbd..82fcbd9bebbb0e36bf261f6f23f31af5087015ac 100644 --- a/features/comments.feature +++ b/features/comments.feature @@ -23,6 +23,7 @@ Feature: commenting Scenario: comment on a photo from the photo page When I sign in as "bob@bob.bob" And I am on the photo page for "alice@alice.alice"'s post "Look at this dog" + And I wait for the ajax to finish And I focus the comment field And I fill in "Comment" with "hahahah" And I press "Comment" @@ -32,6 +33,7 @@ Feature: commenting Scenario: comment on your own photo from the photo page When I sign in as "alice@alice.alice" And I am on the photo page for "alice@alice.alice"'s post "Look at this dog" + And I wait for the ajax to finish And I focus the comment field And I fill in "Comment" with "hahahah" And I press "Comment"