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

ci_cd.rb « sub_menus « project « page « qa « qa - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 398712c04d23d518a97b7a0ea04d346fd96b23f9 (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
28
29
30
31
# frozen_string_literal: true

module QA
  module Page
    module Project
      module SubMenus
        module CiCd
          extend QA::Page::PageConcern

          def self.included(base)
            super

            base.class_eval do
              include QA::Page::Project::SubMenus::Common

              view 'app/views/layouts/nav/sidebar/_project_menus.html.haml' do
                element :link_pipelines
              end
            end
          end

          def click_ci_cd_pipelines
            within_sidebar do
              click_element :link_pipelines
            end
          end
        end
      end
    end
  end
end