[ARVADOS] updated: b71baee668150a93be48bf4735ef9e99f84169a8

Git user git at public.curoverse.com
Wed Sep 6 18:33:37 EDT 2017


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

       via  b71baee668150a93be48bf4735ef9e99f84169a8 (commit)
      from  b2d825bd6059d843b1ae1917ff22e4de3cfc4f5a (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 b71baee668150a93be48bf4735ef9e99f84169a8
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date:   Wed Sep 6 18:33:13 2017 -0400

    12033: Fix tests.
    
    refs #12033
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>

diff --git a/apps/workbench/test/integration/search_box_test.rb b/apps/workbench/test/integration/search_box_test.rb
index 9bb3f73..1eed158 100644
--- a/apps/workbench/test/integration/search_box_test.rb
+++ b/apps/workbench/test/integration/search_box_test.rb
@@ -15,8 +15,8 @@ class SearchBoxTest < ActionDispatch::IntegrationTest
       aproject_uuid = api_fixture('groups')['aproject']['uuid']
       # let's search for aproject by uuid
       within('.navbar-fixed-top') do
-        page.has_field?('search')
-        page.find_field('search').set aproject_uuid
+        page.has_field?('search this site')
+        page.find_field('search this site').set aproject_uuid
         page.find('.glyphicon-search').click
       end
 
@@ -29,7 +29,7 @@ class SearchBoxTest < ActionDispatch::IntegrationTest
       within('.navbar-fixed-top') do
         search_for = String.new user['uuid']
         search_for[0]='1'
-        page.find_field('search').set search_for
+        page.find_field('search this site').set search_for
         page.find('.glyphicon-search').click
       end
 
@@ -65,7 +65,7 @@ class SearchBoxTest < ActionDispatch::IntegrationTest
 
       within('.navbar-fixed-top') do
         # search again for the anonymously accessible project
-        page.find_field('search').set publicly_accessible_project['name'][0,10]
+        page.find_field('search this site').set publicly_accessible_project['name'][0,10]
         page.find('.glyphicon-search').click
       end
 
@@ -84,7 +84,7 @@ class SearchBoxTest < ActionDispatch::IntegrationTest
       assert page.has_text?(publicly_accessible_project['description']), 'No text - publicly accessible project description'
     else
       within('.navbar-fixed-top') do
-        page.has_no_field?('search')
+        page.has_no_field?('search this site')
       end
     end
   end

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list