</a>
<ul class="dropdown-menu" role="menu">
<% if current_user.is_active %>
+ <li role="menuitem"><a href="/projects/<%=current_user.uuid%>" role="menuitem"><i class="fa fa-home fa-fw"></i> Home project </a></li>
<li role="menuitem"><a href="/manage_account" role="menuitem"><i class="fa fa-key fa-fw"></i> Manage account</a></li>
<% if Rails.configuration.user_profile_form_fields %>
<li role="menuitem"><a href="/users/<%=current_user.uuid%>/profile" role="menuitem"><i class="fa fa-key fa-fw"></i> Manage profile</a></li>
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
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