f0391c2517
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
15 lines
286 B
Ruby
15 lines
286 B
Ruby
# 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
|