[ARVADOS] updated: e7a9c2edbf0b3843940446077a45ad4c911727ab

git at public.curoverse.com git at public.curoverse.com
Fri Sep 5 15:10:47 EDT 2014


Summary of changes:
 apps/workbench/test/integration/collections_test.rb | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

       via  e7a9c2edbf0b3843940446077a45ad4c911727ab (commit)
      from  34081b99f265f9baaabcd791f7c520c3f5b37f19 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit e7a9c2edbf0b3843940446077a45ad4c911727ab
Author: radhika <radhika at curoverse.com>
Date:   Fri Sep 5 15:10:34 2014 -0400

    3654: test update

diff --git a/apps/workbench/test/integration/collections_test.rb b/apps/workbench/test/integration/collections_test.rb
index a5ce8fd..27b9269 100644
--- a/apps/workbench/test/integration/collections_test.rb
+++ b/apps/workbench/test/integration/collections_test.rb
@@ -3,6 +3,10 @@ require 'selenium-webdriver'
 require 'headless'
 
 class CollectionsTest < ActionDispatch::IntegrationTest
+  setup do
+    Capybara.current_driver = Capybara.javascript_driver
+  end
+
   test "Collection page renders name" do
     uuid = api_fixture('collections')['foo_file']['uuid']
     coll_name = api_fixture('collections')['foo_file']['name']
@@ -87,9 +91,7 @@ class CollectionsTest < ActionDispatch::IntegrationTest
     end
 
     # now in collection page
-    within('tr', text: foo_collection['name'].split('_')[0]) do
-      find('input[type=checkbox]').click
-    end
+    find('input[type=checkbox]').click
 
     click_button 'Selection...'
     within('.selection-action-container') do
@@ -98,6 +100,5 @@ class CollectionsTest < ActionDispatch::IntegrationTest
 
     # go back to collections page
     visit page_with_token('active', "/collections")
-    assert(page.has_text?('sdfsdfsdfsdfsdfsdfsdf'), "Collection page did not include foo file link")
   end
 end

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list