summaryrefslogtreecommitdiff
path: root/qa/qa/page/component/import/selection.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/page/component/import/selection.rb')
-rw-r--r--qa/qa/page/component/import/selection.rb23
1 files changed, 23 insertions, 0 deletions
diff --git a/qa/qa/page/component/import/selection.rb b/qa/qa/page/component/import/selection.rb
new file mode 100644
index 00000000000..6cacdd84f13
--- /dev/null
+++ b/qa/qa/page/component/import/selection.rb
@@ -0,0 +1,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