Commit 34f7e825 authored by Mike Greiling's avatar Mike Greiling

add accept_confirm around "delete comment" button

parent 72717b59
...@@ -110,7 +110,7 @@ describe 'Comments on personal snippets', :js do ...@@ -110,7 +110,7 @@ describe 'Comments on personal snippets', :js do
open_more_actions_dropdown(snippet_notes[0]) open_more_actions_dropdown(snippet_notes[0])
page.within("#notes-list li#note_#{snippet_notes[0].id}") do page.within("#notes-list li#note_#{snippet_notes[0].id}") do
click_on 'Delete comment' accept_confirm { click_on 'Delete comment' }
end end
wait_for_requests wait_for_requests
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment