summaryrefslogtreecommitdiff
path: root/qa/qa/page/component/import/selection.rb
blob: 6cacdd84f138f1e6186259b075b12e2bf2d988d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# frozen_string_literal: true

module QA
  module Page
    module Component
      module Import
        module Selection
          def self.included(base)
            super

            base.view 'app/views/projects/_import_project_pane.html.haml' do
              element :gitlab_import_button
            end
          end

          def click_gitlab
            click_element(:gitlab_import_button)
          end
        end
      end
    end
  end
end