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

build.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: 546390deaa37029bbaa969f7232d9ba3df497b4f (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
32
33
34
35
36
37
38
39
# frozen_string_literal: true

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

          def go_to_pipelines
            open_build_submenu('Pipelines')
          end

          def go_to_pipeline_editor
            open_build_submenu('Pipeline editor')
          end

          def go_to_jobs
            open_build_submenu('Jobs')
          end

          def go_to_schedules
            open_build_submenu('Pipeline schedules')
          end

          def go_to_artifacts
            open_build_submenu('Artifacts')
          end

          private

          def open_build_submenu(sub_menu)
            open_submenu('Build', sub_menu)
          end
        end
      end
    end
  end
end