diff options
Diffstat (limited to 'qa/qa/page/admin/overview/users/index.rb')
-rw-r--r-- | qa/qa/page/admin/overview/users/index.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qa/qa/page/admin/overview/users/index.rb b/qa/qa/page/admin/overview/users/index.rb index e374c1bf281..fea95fdb84a 100644 --- a/qa/qa/page/admin/overview/users/index.rb +++ b/qa/qa/page/admin/overview/users/index.rb @@ -8,6 +8,7 @@ module QA class Index < QA::Page::Base view 'app/views/admin/users/index.html.haml' do element :user_search_field + element :pending_approval_tab end view 'app/views/admin/users/_user.html.haml' do @@ -22,6 +23,10 @@ module QA find_element(:user_search_field).set(username).send_keys(:return) end + def click_pending_approval_tab + click_element :pending_approval_tab + end + def click_user(username) within_element(:user_row_content, text: username) do click_element(:username_link) |