Commit b4389e48 authored by peterhegman's avatar peterhegman Committed by Jacques Erasmus

Switch to using `data-qa-username` instead of `data-qa-index`

Per reviewer feedback
parent f77a237d
......@@ -110,7 +110,7 @@ export default {
:text-sr-only="!showButtonLabels"
icon="settings"
data-qa-selector="user_actions_dropdown_toggle"
:data-qa-index="user.id"
:data-qa-username="user.username"
>
<gl-dropdown-section-header>{{
$options.i18n.userAdministration
......
......@@ -29,7 +29,7 @@ module QA
end
def open_user_actions_dropdown(user)
click_element(:user_actions_dropdown_toggle, index: user.id)
click_element(:user_actions_dropdown_toggle, username: user.username)
end
def click_impersonate_user
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment