diff --git a/features/comments.feature b/features/comments.feature index 93e2d8174..6a25a261a 100644 --- a/features/comments.feature +++ b/features/comments.feature @@ -55,6 +55,6 @@ Feature: commenting When I follow "less than a minute ago" Then I should see "Look at this dog" And I make a show page comment "I think thats a cat" - Then I should see "less than a minute ago" within "#post-comments" + Then I should see "less than a minute ago" within "#comments" When I go to "alice@alice.alice"'s page Then I should see "I think thats a cat" diff --git a/features/support/publishing_cuke_helpers.rb b/features/support/publishing_cuke_helpers.rb index 390be3b93..3e16cd73f 100644 --- a/features/support/publishing_cuke_helpers.rb +++ b/features/support/publishing_cuke_helpers.rb @@ -80,9 +80,8 @@ module PublishingCukeHelpers end def comment_on_show_page(comment_text) - within("#post-interactions") do - focus_comment_box(".label.comment") - make_comment(comment_text, "new-comment-text") + within("#single-post-interactions") do + make_comment(comment_text) end end