summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/issue/index.rb
blob: c4383951ec4ebee71874ab48db7fbab77b407cbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

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' # rubocop:disable QA/ElementWithPattern
          end

          def click_issue_link(title)
            click_link(title)
          end
        end
      end
    end
  end
end