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

new.rb « pipeline_editor « project « page « qa « qa - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5d79dd86f2acb431ad6496cb97e15c3d3f057c43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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