X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c51a3888a01543d0835119574960a02fd7d35994..85b29e4db84f53e390c7964f43caf91d3a764510:/apps/workbench/test/integration/application_layout_test.rb diff --git a/apps/workbench/test/integration/application_layout_test.rb b/apps/workbench/test/integration/application_layout_test.rb index daf2b09bbb..1f9edd422b 100644 --- a/apps/workbench/test/integration/application_layout_test.rb +++ b/apps/workbench/test/integration/application_layout_test.rb @@ -201,4 +201,12 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest assert page.has_link?('Report a problem ...'), 'No link - Report a problem' end end + + test "no SSH public key notification when shell_in_a_box_url is configured" do + Rails.configuration.shell_in_a_box_url = 'example.com' + 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.' + assert_selector 'a', text:'Click here to learn how to run an Arvados Crunch pipeline' + end end