summaryrefslogtreecommitdiff
path: root/spec/features/projects/tree
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-04-30 09:06:37 +0100
committerPhil Hughes <me@iamphill.com>2018-04-30 09:06:37 +0100
commit26630b9f8ddb7668d7d7527287d4f8ee920fde37 (patch)
tree768533a60f7a32d2e7d1952635999c8483424724 /spec/features/projects/tree
parent6a651eb721dc421297c5f52c937d25faa139bc13 (diff)
parent87f1736a7381f39e373ce5bdae2d7185b9523108 (diff)
downloadgitlab-ce-26630b9f8ddb7668d7d7527287d4f8ee920fde37.tar.gz
Merge branch 'master' into 44846-improve-web-ide-left-panel-and-modes
Diffstat (limited to 'spec/features/projects/tree')
-rw-r--r--spec/features/projects/tree/upload_file_spec.rb13
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