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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/page/project/pipeline_editor/new.rb')
-rw-r--r--qa/qa/page/project/pipeline_editor/new.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/qa/qa/page/project/pipeline_editor/new.rb b/qa/qa/page/project/pipeline_editor/new.rb
new file mode 100644
index 00000000000..5d79dd86f2a
--- /dev/null
+++ b/qa/qa/page/project/pipeline_editor/new.rb
@@ -0,0 +1,19 @@
+# frozen_string_literal: true
+
+module QA
+ module Page
+ module Project
+ module PipelineEditor
+ class New < QA::Page::Base
+ view 'app/assets/javascripts/pipeline_editor/components/ui/pipeline_editor_empty_state.vue' do
+ element :create_new_ci_button, required: true
+ end
+
+ def create_new_ci
+ click_element(:create_new_ci_button, Page::Project::PipelineEditor::Show)
+ end
+ end
+ end
+ end
+ end
+end