Welcome to mirror list, hosted at ThFree Co, Russian Federation.

members_filter.rb « members « component « page « qa « qa - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8803211ea86ce659db8aa24d0b169900e973ac43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# frozen_string_literal: true

module QA
  module Page
    module Component
      module Members
        module MembersFilter
          extend QA::Page::PageConcern

          def self.included(base)
            super

            base.view 'app/assets/javascripts/members/components/filter_sort/members_filtered_search_bar.vue' do
              element :search_bar_input
              element :search_button
            end
          end

          def search_member(username)
            fill_element :search_bar_input, username
            click_element :search_button
          end
        end
      end
    end
  end
end