summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/settings/common.rb
blob: b4ef07e1540b47df0ebd0617d5da95e5d48eb4e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module QA
  module Page
    module Project
      module Settings
        module Common
          def expand(element_name)
            page.within('#content-body') do
              click_element(element_name)

              yield
            end
          end
        end
      end
    end
  end
end