summaryrefslogtreecommitdiff
path: root/qa/qa/page/group/show.rb
blob: 6987c1f8f8503fdb4ae1ef9c31b1cac071a61227 (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
module QA
  module Page
    module Group
      class Show < Page::Base
        def go_to_subgroups
          click_link 'Subgroups'
        end

        def go_to_subgroup(name)
          click_link name
        end

        def has_subgroup?(name)
          page.has_link?(name)
        end

        def go_to_new_subgroup
          click_on 'New Subgroup'
        end

        def go_to_new_project
          click_on 'New Project'
        end
      end
    end
  end
end