Skip to content
Snippets Groups Projects
Commit b5360eb5 authored by Mark Lapierre's avatar Mark Lapierre
Browse files

Merge branch 'qa-update-user-row-selector' into 'master'

Add qa selector to user table vue

See merge request gitlab-org/gitlab!61613
parents bc773967 6d510278
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -112,6 +112,7 @@ export default {
:empty-text="s__('AdminUsers|No users found')"
show-empty
stacked="md"
data-qa-selector="user_row_content"
>
<template #cell(name)="{ item: user }">
<user-avatar :user="user" :admin-user-path="paths.adminUser" />
Loading
Loading
Loading
Loading
@@ -29,7 +29,7 @@ def click_pending_approval_tab
 
def click_user(username)
within_element(:user_row_content, text: username) do
click_element(:username_link)
click_link(username)
end
end
end
Loading
Loading
Loading
Loading
@@ -138,7 +138,7 @@ def approve_user(user)
Page::Admin::Overview::Users::Index.perform do |index|
index.click_pending_approval_tab
index.search_user(user.username)
index.click_user(user.username)
index.click_user(user.name)
end
 
Page::Admin::Overview::Users::Show.perform do |show|
Loading
Loading
Loading
Loading
@@ -111,7 +111,7 @@ module QA
Page::Admin::Menu.perform(&:go_to_users_overview)
Page::Admin::Overview::Users::Index.perform do |index|
index.search_user(user_for_impersonation.username)
index.click_user(user_for_impersonation.username)
index.click_user(user_for_impersonation.name)
end
 
Page::Admin::Overview::Users::Show.perform(&:click_impersonate_user)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment