summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/issue/index.rb
blob: b5903f536a4d2229cded99990866d3c7a452e2c7 (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 Issue
        class Index < Page::Base
          view 'app/views/projects/issues/_issue.html.haml' do
            element :issue_link, 'link_to issue.title'
          end

          def go_to_issue(title)
            click_link(title)
          end
        end
      end
    end
  end
end