add accept_confirm around "delete comment" button
This commit is contained in:
parent
72717b591d
commit
34f7e82563
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ describe 'Comments on personal snippets', :js do
|
|||
open_more_actions_dropdown(snippet_notes[0])
|
||||
|
||||
page.within("#notes-list li#note_#{snippet_notes[0].id}") do
|
||||
click_on 'Delete comment'
|
||||
accept_confirm { click_on 'Delete comment' }
|
||||
end
|
||||
|
||||
wait_for_requests
|
||||
|
|
Loading…
Reference in a new issue