accept modal confirm dialog when deleting note
This commit is contained in:
parent
ad3a0b318f
commit
40ee89bc7d
|
@ -155,7 +155,7 @@ describe 'User comments on a diff', :js do
|
|||
find('.more-actions').click
|
||||
find('.more-actions .dropdown-menu li', match: :first)
|
||||
|
||||
find('.js-note-delete').click
|
||||
accept_confirm { find('.js-note-delete').click }
|
||||
end
|
||||
|
||||
page.within('.merge-request-tabs') do
|
||||
|
|
Loading…
Reference in New Issue