diff options
author | Phil Hughes <me@iamphill.com> | 2018-04-27 12:28:06 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-04-27 16:43:40 +0300 |
commit | 8c119b5658c60938074673b127b92531776f1465 (patch) | |
tree | 721ada845b56beba1253ccc28bead11a2eae8ea2 /spec | |
parent | c45b7ab597b5fa2bf48fa0f181e4d58a2c0b3a09 (diff) |
Remove IDE image upload spec
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/45045
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/projects/tree/upload_file_spec.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/features/projects/tree/upload_file_spec.rb b/spec/features/projects/tree/upload_file_spec.rb index 8e53ae15700..4dfc325b37e 100644 --- a/spec/features/projects/tree/upload_file_spec.rb +++ b/spec/features/projects/tree/upload_file_spec.rb @@ -35,17 +35,4 @@ feature 'Multi-file editor upload file', :js do expect(page).to have_selector('.multi-file-tab', text: 'doc_sample.txt') expect(find('.blob-editor-container .lines-content')['innerText']).to have_content(File.open(txt_file, &:readline)) end - - it 'uploads image file' do - find('.add-to-tree').click - - # make the field visible so capybara can use it - execute_script('document.querySelector("#file-upload").classList.remove("hidden")') - attach_file('file-upload', img_file) - - find('.add-to-tree').click - - expect(page).to have_selector('.multi-file-tab', text: 'dk.png') - expect(page).not_to have_selector('.monaco-editor') - end end |