[ARVADOS] updated: 1.3.0-1474-g38821eb29

Git user git at public.curoverse.com
Fri Aug 9 19:33:53 UTC 2019


Summary of changes:
 apps/workbench/test/integration/application_layout_test.rb | 4 +++-
 apps/workbench/test/integration/jobs_test.rb               | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

       via  38821eb2984f73e62bf21fd214890864a8ad9d47 (commit)
      from  23138fc621581634579294751beeff7f5e66358e (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 38821eb2984f73e62bf21fd214890864a8ad9d47
Author: Lucas Di Pentima <ldipentima at veritasgenetics.com>
Date:   Fri Aug 9 16:32:43 2019 -0300

    14716: Sets empty anonymous token on failing wb integration tests.
    
    Also reverts the previous commit.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima at veritasgenetics.com>

diff --git a/apps/workbench/test/integration/application_layout_test.rb b/apps/workbench/test/integration/application_layout_test.rb
index 361d977e5..dc958d3b5 100644
--- a/apps/workbench/test/integration/application_layout_test.rb
+++ b/apps/workbench/test/integration/application_layout_test.rb
@@ -30,7 +30,7 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest
         assert page.has_link?("Projects"), 'Not found link - Projects'
         page.find("#projects-menu").click
         assert_selector 'a', text: 'Search all projects'
-        assert_selector 'a', text: 'Browse public projects'
+        assert_no_selector 'a', text: 'Browse public projects'
         assert_selector 'a', text: 'Add a new project'
         assert_selector 'li[class="dropdown-header"]', text: 'My projects'
       end
@@ -129,6 +129,7 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest
   ].each do |token, user, invited, has_profile|
 
     test "visit home page for user #{token}" do
+      Rails.configuration.Users.AnonymousUserToken = ""
       if !token
         visit ('/')
       else
@@ -237,6 +238,7 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest
 
   test "no SSH public key notification when shell_in_a_box_url is configured" do
     Rails.configuration.Services.WebShell.ExternalURL = URI('http://example.com')
+    Rails.configuration.Users.AnonymousUserToken = ""
     visit page_with_token('job_reader')
     click_link 'notifications-menu'
     assert_no_selector 'a', text:'Click here to set up an SSH public key for use with Arvados.'
diff --git a/apps/workbench/test/integration/jobs_test.rb b/apps/workbench/test/integration/jobs_test.rb
index a66dfd803..a88750c72 100644
--- a/apps/workbench/test/integration/jobs_test.rb
+++ b/apps/workbench/test/integration/jobs_test.rb
@@ -119,6 +119,7 @@ class JobsTest < ActionDispatch::IntegrationTest
     ['job_reader2', false],
   ].each do |user, readable|
     test "view job with components as #{user} user" do
+      Rails.configuration.Users.AnonymousUserToken = ""
       job = api_fixture('jobs')['running_job_with_components']
       component1 = api_fixture('jobs')['completed_job_in_publicly_accessible_project']
       component2 = api_fixture('pipeline_instances')['running_pipeline_with_complete_job']

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list