summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/settings/common.rb
blob: 5d1d5120929c408d62a32e77a53ad7f1ef35472f (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(selector)
            page.within('#content-body') do
              find(selector).click

              yield
            end
          end
        end
      end
    end
  end
end