X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7bd9cd28b4c655dc2774614e65241a33fc4ca839..55be42bcb7ede4e83fddefe3894828151e504c3e:/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 84acdc6114..a5789acae3 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