X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9d458fa1a56b0714f252a4097203bdbfdd51cd5b..4eba549b5c0c2d01d0476ceaff894db6723177ee:/test/system/note_comments_test.rb?ds=sidebyside diff --git a/test/system/note_comments_test.rb b/test/system/note_comments_test.rb index 7666f69e2..70cfc417c 100644 --- a/test/system/note_comments_test.rb +++ b/test/system/note_comments_test.rb @@ -34,7 +34,7 @@ class NoteCommentsTest < ApplicationSystemTestCase assert_button "Comment & Resolve" assert_button "Comment", :disabled => false - click_button "Comment" + click_on "Comment" assert_content "Comment from #{user.display_name}" assert_content "Some newly added note comment"