gitlab-org--gitlab-foss/spec/support/helpers/issue_helpers.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
286 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module IssueHelpers
def visit_issues(project, opts = {})
visit project_issues_path project, opts
end
def first_issue
page.all('ul.issues-list > li').first.text
end
def last_issue
page.all('ul.issues-list > li').last.text
end
end