summaryrefslogtreecommitdiff
path: root/app/views/layouts/header/_default.html.haml
diff options
context:
space:
mode:
authorddavison <ddavison@gitlab.com>2019-06-06 22:34:42 -0700
committerddavison <ddavison@gitlab.com>2019-07-10 16:10:28 -0700
commit98fc3f23db648a16096994ba3b70d461b5b1ccf0 (patch)
tree9c90a98890950b3512708d22d7431bd80da1d478 /app/views/layouts/header/_default.html.haml
parent390e0d8906c066996e8bbb14aa5824643f9798f8 (diff)
downloadgitlab-ce-98fc3f23db648a16096994ba3b70d461b5b1ccf0.tar.gz
Fix Main::Menu locators
Fix the locators to not use a regex Add requirement
Diffstat (limited to 'app/views/layouts/header/_default.html.haml')
-rw-r--r--app/views/layouts/header/_default.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/header/_default.html.haml b/app/views/layouts/header/_default.html.haml
index 36ae24fc4bf..fc2dea25c77 100644
--- a/app/views/layouts/header/_default.html.haml
+++ b/app/views/layouts/header/_default.html.haml
@@ -64,7 +64,7 @@
.dropdown-menu.dropdown-menu-right
= render 'layouts/header/help_dropdown'
- if header_link?(:user_dropdown)
- %li.nav-item.header-user.dropdown{ data: { track_label: "profile_dropdown", track_event: "click_dropdown" } }
+ %li.nav-item.header-user.dropdown{ data: { track_label: "profile_dropdown", track_event: "click_dropdown", qa_selector: 'user_menu' } }
= link_to current_user, class: user_dropdown_class, data: { toggle: "dropdown" } do
= image_tag avatar_icon_for_user(current_user, 23), width: 23, height: 23, class: "header-user-avatar qa-user-avatar"
= sprite_icon('angle-down', css_class: 'caret-down')