X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e3c562dff0f84634c12e14c232a5ab677892ed6e..ec0c9f0d12560296d4b678c8ad33e1b82221e626:/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 ed65563a70..3b449b9a83 100644 --- a/apps/workbench/test/integration/application_layout_test.rb +++ b/apps/workbench/test/integration/application_layout_test.rb @@ -47,6 +47,7 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest assert page.has_no_link?('Not active'), 'Found link - Not active' assert page.has_no_link?('Sign agreements'), 'Found link - Sign agreements' + assert_selector "a[href=\"/projects/#{user['uuid']}\"]", text: 'Home project' assert page.has_link?('Manage account'), 'No link - Manage account' if profile_config @@ -55,6 +56,7 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest assert page.has_no_link?('Manage profile'), 'Found link - Manage profile' end else + assert_no_selector 'a', text: 'Home project' assert page.has_no_link?('Manage account'), 'Found link - Manage account' assert page.has_no_link?('Manage profile'), 'Found link - Manage profile' end