summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/settings/cicd.rb
blob: 045a08265221988c733eb47f7a72abed7f61991b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module QA
  module Page
    module Project
      module Settings
        class CICD < Page::Base
          include Common

          view 'app/views/projects/settings/ci_cd/show.html.haml' do
            element :expand_secret_variables
          end

          def expand_secret_variables(&block)
            expand(:expand_secret_variables) do
              SecretVariables.perform(&block)
            end
          end
        end
      end
    end
  end
end