11927: Eliminate unnecessary use of selenium.
authorTom Clegg <tom@curoverse.com>
Wed, 5 Jul 2017 21:34:11 +0000 (17:34 -0400)
committerTom Clegg <tom@curoverse.com>
Wed, 5 Jul 2017 21:34:11 +0000 (17:34 -0400)
This test case works without selenium, if we don't try to click an
"edit" link that's disabled because we already clicked it.

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

apps/workbench/test/integration/collections_test.rb

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')