summaryrefslogtreecommitdiff
path: root/qa/qa/page/menu/admin.rb
blob: 40da4a53e8ac6f7cadc1b24838b20c6e9f2a8dca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
module QA
  module Page
    module Menu
      class Admin < Page::Base
        ##
        # TODO, define all selectors required by this page object
        #
        # See gitlab-org/gitlab-qa#154
        #
        view 'app/views/admin/dashboard/index.html.haml'

        def go_to_license
          click_link 'License'
        end

        def go_to_settings
          click_link 'Settings'
        end
      end
    end
  end
end