projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refs #6465
[arvados.git]
/
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 38b60267edde70a8ae11ed288d7eef3d86ce5094..62efee4d67e6b4e5a84e2340bcc55902b18ba30d 100644
(file)
--- 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'
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
# 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
test "Upload two empty files with the same name" do
need_selenium "to make file uploads work"
visit page_with_token 'active', sandbox_path