accept modal confirm dialog when deleting note

This commit is contained in:
Mike Greiling 2017-10-29 08:11:59 -05:00
parent ad3a0b318f
commit 40ee89bc7d
No known key found for this signature in database
GPG Key ID: 0303DF507FA67596
1 changed files with 1 additions and 1 deletions

View File

@ -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