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

deploy.rb « sub_menus « page « qa « qa - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4494395ba45ec1c083930809da336697ec0878e6 (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
# frozen_string_literal: true

module QA
  module Page
    module SubMenus
      module Deploy
        extend QA::Page::PageConcern

        def go_to_package_registry
          open_deploy_submenu("Package Registry")
        end

        def go_to_container_registry
          open_deploy_submenu('Container Registry')
        end

        def go_to_pages_settings
          open_deploy_submenu('Pages')
        end

        private

        def open_deploy_submenu(sub_menu)
          open_submenu("Deploy", sub_menu)
        end
      end
    end
  end
end