Skip to content
代码片段 群组 项目
提交 b4389e48 编辑于 作者: peterhegman's avatar peterhegman 提交者: Jacques Erasmus
浏览文件

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

Per reviewer feedback
上级 f77a237d
No related branches found
No related tags found
无相关合并请求
......@@ -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 @@ class Show < QA::Page::Base
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
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册