X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8c473f086b705d55132286cd2a276bcf67a15558..7d5d40c55d2a38b12e810f3b9d3e168ee434cbd2:/apps/workbench/test/integration/collection_upload_test.rb diff --git a/apps/workbench/test/integration/collection_upload_test.rb b/apps/workbench/test/integration/collection_upload_test.rb index 3f201b748c..62efee4d67 100644 --- a/apps/workbench/test/integration/collection_upload_test.rb +++ b/apps/workbench/test/integration/collection_upload_test.rb @@ -22,18 +22,12 @@ class CollectionUploadTest < ActionDispatch::IntegrationTest click_link 'Upload files from my computer' # Should be looking at a new empty collection. assert_text 'New collection' - assert_text 'd41d8cd98f00b204e9800998ecf8427e+0' + assert_text ' 0 files' + assert_text ' 0 bytes' # The "Upload" tab should be active and loaded. assert_selector 'div#Upload.active div.panel' end - test "No Upload tab on non-writable collection" do - need_javascript - visit(page_with_token 'active', - '/collections/'+api_fixture('collections')['user_agreement']['uuid']) - assert_no_selector '.nav-tabs Upload' - end - test "Upload two empty files with the same name" do need_selenium "to make file uploads work" visit page_with_token 'active', sandbox_path @@ -86,7 +80,7 @@ class CollectionUploadTest < ActionDispatch::IntegrationTest end end - test "Report CORS problem or network error" do + test "Report network error" do need_selenium "to make file uploads work" begin use_token :admin @@ -100,7 +94,6 @@ class CollectionUploadTest < ActionDispatch::IntegrationTest assert_selector 'button:not([disabled])', text: 'Start' click_button 'Start' using_wait_time 5 do - assert_text :visible, 'CORS' assert_text :visible, 'network error' end end