summaryrefslogtreecommitdiff
path: root/qa/qa/page/group/settings/repository.rb
blob: 2cc80ef26c60b2357b6a94830573ac574484bd32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# frozen_string_literal: true

module QA
  module Page
    module Group
      module Settings
        class Repository < Page::Base
          include QA::Page::Settings::Common

          view 'app/views/shared/deploy_tokens/_index.html.haml' do
            element :deploy_tokens_settings_content
          end

          def expand_deploy_tokens(&block)
            expand_content(:deploy_tokens_settings_content) do
              Settings::GroupDeployTokens.perform(&block)
            end
          end
        end
      end
    end
  end
end