summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/settings/repository.rb
blob: 524d87c6be99ab3ddc06170ec370d6bf5c42f135 (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
module QA
  module Page
    module Project
      module Settings
        class Repository < Page::Base
          include Common

          ##
          # TODO, define all selectors required by this page object
          #
          # See gitlab-org/gitlab-qa#154
          #
          view 'app/views/projects/settings/repository/show.html.haml'

          def expand_deploy_keys(&block)
            expand('.qa-expand-deploy-keys') do
              DeployKeys.perform(&block)
            end
          end
        end
      end
    end
  end
end