X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ae8ed6d9d0e5231379564beedc08c812352b7043..cd1f6c0fd2f9a91b88659b90a6fd9faee576a557:/apps/workbench/test/integration/application_layout_test.rb?ds=sidebyside 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