Commit 2e4ff268 authored by Felipe's avatar Felipe

Remove delete attachment spec

parent 899ca842
Pipeline #17330985 failed with stages
in 25 minutes and 1 second
......@@ -143,26 +143,5 @@ describe 'Merge request > User posts notes', :js do
end
end
end
describe 'deleting an attachment' do
before do
find('.note').hover
find('.js-note-edit').click
end
it 'shows the delete link' do
page.within('.note-attachment') do
is_expected.to have_css('.js-note-attachment-delete')
end
end
it 'removes the attachment div and resets the edit form' do
accept_confirm { find('.js-note-attachment-delete').click }
is_expected.not_to have_css('.note-attachment')
is_expected.not_to have_css('.current-note-edit-form')
wait_for_requests
end
end
end
end
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