Merge branch '11927-tags-test'
authorTom Clegg <tom@curoverse.com>
Wed, 5 Jul 2017 21:38:42 +0000 (17:38 -0400)
committerTom Clegg <tom@curoverse.com>
Wed, 5 Jul 2017 21:38:42 +0000 (17:38 -0400)
refs #11927

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curoverse.com>

apps/workbench/app/views/collections/_show_tags.html.erb
apps/workbench/test/integration/collections_test.rb

index fd734c82dc05ad14e1603519b096b197a706aaa5..afab5266e9c2e46dbe5c84425ba9f42b7f41f544 100644 (file)
@@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0 %>
   <div class="collection-tags-container" style="padding-left:2em;padding-right:2em;">
     <% if object.editable? %>
       <p title="Edit tags" id="edit-collection-tags">
-        <a type="button" class="btn btn-primary edit-collection-tags">Edit</a>
+        <a class="btn btn-primary edit-collection-tags">Edit</a>
       </p>
     <% end %>
 
index af8e1313f880d17ef1c8d4740495b8c82336575e..8619858dfeee90889cc411b2e06677caa2291134 100644 (file)
@@ -426,8 +426,6 @@ class CollectionsTest < ActionDispatch::IntegrationTest
   end
 
   test "collection tags tab" do
-    need_selenium
-
     visit page_with_token('active', '/collections/zzzzz-4zz18-bv31uwvy3neko21')
 
     click_link 'Tags'
@@ -447,8 +445,6 @@ class CollectionsTest < ActionDispatch::IntegrationTest
     assert_selector 'a', text: 'Cancel'
 
     # add two tags
-    first('.edit-collection-tags').click
-
     first('.glyphicon-plus').click
     first('.collection-tag-field-key').click
     first('.collection-tag-field-key').set('key 1')