Commit f552c848 authored by Mark Lapierre's avatar Mark Lapierre

Merge branch 'qa-use-select2-search_and_select-for-members' into 'master'

Refactor add_member to use search_and_select

See merge request gitlab-org/gitlab!27918
parents 3c652e57 44bd7e93
......@@ -5,7 +5,6 @@ module QA
module Project
module Settings
class Members < Page::Base
include Page::Component::UsersSelect
include QA::Page::Component::Select2
view 'app/views/shared/members/_invite_member.html.haml' do
......@@ -43,7 +42,8 @@ module QA
end
def add_member(username)
select_user :member_select_field, username
click_element :member_select_field
search_and_select username
click_element :invite_member_button
end
......
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