2014-09-22 10:30:25 -04:00
|
|
|
class Spinach::Features::ProjectIssues < Spinach::FeatureSteps
|
2012-09-10 11:35:03 -04:00
|
|
|
include SharedAuthentication
|
2014-10-18 19:43:45 -04:00
|
|
|
include SharedIssuable
|
2012-09-10 11:35:03 -04:00
|
|
|
include SharedProject
|
|
|
|
include SharedNote
|
|
|
|
include SharedPaths
|
2014-02-04 02:48:33 -05:00
|
|
|
include SharedMarkdown
|
2016-03-21 06:40:13 -04:00
|
|
|
include SharedUser
|
2012-09-10 11:35:03 -04:00
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'I should see "Release 0.4" in issues' do
|
2015-06-12 00:44:13 -04:00
|
|
|
expect(page).to have_content "Release 0.4"
|
2012-09-10 08:34:01 -04:00
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'I should not see "Release 0.3" in issues' do
|
2015-06-12 00:44:13 -04:00
|
|
|
expect(page).not_to have_content "Release 0.3"
|
2012-09-10 08:34:01 -04:00
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'I should not see "Tweet control" in issues' do
|
2015-06-12 00:44:13 -04:00
|
|
|
expect(page).not_to have_content "Tweet control"
|
2013-09-26 12:05:55 -04:00
|
|
|
end
|
|
|
|
|
2015-03-16 11:20:17 -04:00
|
|
|
step 'I should see that I am subscribed' do
|
2016-04-12 08:34:03 -04:00
|
|
|
expect(find('.issuable-subscribe-button span')).to have_content 'Unsubscribe'
|
2015-03-16 11:20:17 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
step 'I should see that I am unsubscribed' do
|
2016-04-12 08:34:03 -04:00
|
|
|
expect(find('.issuable-subscribe-button span')).to have_content 'Subscribe'
|
2015-03-16 11:20:17 -04:00
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'I click link "Closed"' do
|
2016-03-09 08:34:39 -05:00
|
|
|
find('.issues-state-filters a', text: "Closed").click
|
2012-09-10 08:34:01 -04:00
|
|
|
end
|
|
|
|
|
2015-03-16 11:20:17 -04:00
|
|
|
step 'I click button "Unsubscribe"' do
|
|
|
|
click_on "Unsubscribe"
|
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'I should see "Release 0.3" in issues' do
|
2015-06-12 00:44:13 -04:00
|
|
|
expect(page).to have_content "Release 0.3"
|
2012-09-10 08:34:01 -04:00
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'I should not see "Release 0.4" in issues' do
|
2015-06-12 00:44:13 -04:00
|
|
|
expect(page).not_to have_content "Release 0.4"
|
2012-09-10 08:34:01 -04:00
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'I click link "All"' do
|
2012-09-10 08:34:01 -04:00
|
|
|
click_link "All"
|
2016-08-17 08:33:44 -04:00
|
|
|
# Waits for load
|
|
|
|
expect(find('.issues-state-filters > .active')).to have_content 'All'
|
2012-09-10 08:34:01 -04:00
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'I click link "Release 0.4"' do
|
2012-09-10 08:34:01 -04:00
|
|
|
click_link "Release 0.4"
|
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'I should see issue "Release 0.4"' do
|
2015-06-12 00:44:13 -04:00
|
|
|
expect(page).to have_content "Release 0.4"
|
2012-09-10 08:34:01 -04:00
|
|
|
end
|
|
|
|
|
2016-02-15 09:19:23 -05:00
|
|
|
step 'I should see issue "Tweet control"' do
|
|
|
|
expect(page).to have_content "Tweet control"
|
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'I click link "New Issue"' do
|
2016-11-05 13:28:29 -04:00
|
|
|
page.has_link?('New Issue') ? click_link('New Issue') : click_link('New issue')
|
2012-09-10 08:34:01 -04:00
|
|
|
end
|
|
|
|
|
2015-03-31 02:53:42 -04:00
|
|
|
step 'I click "author" dropdown' do
|
2016-03-09 08:34:39 -05:00
|
|
|
page.find('.js-author-search').click
|
|
|
|
sleep 1
|
2015-03-31 02:53:42 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
step 'I see current user as the first user' do
|
2016-03-09 08:34:39 -05:00
|
|
|
expect(page).to have_selector('.dropdown-content', visible: true)
|
|
|
|
users = page.all('.dropdown-menu-author .dropdown-content li a')
|
2015-12-30 17:03:51 -05:00
|
|
|
expect(users[0].text).to eq 'Any Author'
|
2016-03-09 08:34:39 -05:00
|
|
|
expect(users[1].text).to eq "#{current_user.name} #{current_user.to_reference}"
|
2015-03-31 02:53:42 -04:00
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'I submit new issue "500 error on profile"' do
|
2013-05-05 10:01:10 -04:00
|
|
|
fill_in "issue_title", with: "500 error on profile"
|
2015-12-02 08:33:14 -05:00
|
|
|
click_button "Submit issue"
|
2012-09-10 08:34:01 -04:00
|
|
|
end
|
|
|
|
|
2014-07-31 07:14:27 -04:00
|
|
|
step 'I submit new issue "500 error on profile" with label \'bug\'' do
|
|
|
|
fill_in "issue_title", with: "500 error on profile"
|
2016-07-16 03:12:12 -04:00
|
|
|
click_button "Label"
|
|
|
|
click_link "bug"
|
2015-12-02 08:33:14 -05:00
|
|
|
click_button "Submit issue"
|
2014-07-31 07:14:27 -04:00
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'I click link "500 error on profile"' do
|
2012-09-10 08:34:01 -04:00
|
|
|
click_link "500 error on profile"
|
|
|
|
end
|
|
|
|
|
2014-07-31 07:14:27 -04:00
|
|
|
step 'I should see label \'bug\' with issue' do
|
2015-12-03 14:01:35 -05:00
|
|
|
page.within '.issuable-show-labels' do
|
2015-06-12 00:44:13 -04:00
|
|
|
expect(page).to have_content 'bug'
|
2014-07-31 07:14:27 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'I should see issue "500 error on profile"' do
|
2014-01-19 13:55:59 -05:00
|
|
|
issue = Issue.find_by(title: "500 error on profile")
|
2015-06-12 00:44:13 -04:00
|
|
|
expect(page).to have_content issue.title
|
|
|
|
expect(page).to have_content issue.author_name
|
|
|
|
expect(page).to have_content issue.project.name
|
2012-09-10 08:34:01 -04:00
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'I fill in issue search with "Re"' do
|
2014-09-03 12:18:23 -04:00
|
|
|
filter_issue "Re"
|
2012-09-10 08:34:01 -04:00
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'I fill in issue search with "Bu"' do
|
2014-09-03 12:18:23 -04:00
|
|
|
filter_issue "Bu"
|
2012-09-10 08:34:01 -04:00
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'I fill in issue search with ".3"' do
|
2014-09-03 12:18:23 -04:00
|
|
|
filter_issue ".3"
|
2012-09-10 08:34:01 -04:00
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'I fill in issue search with "Something"' do
|
2014-09-03 12:18:23 -04:00
|
|
|
filter_issue "Something"
|
2012-09-10 08:34:01 -04:00
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'I fill in issue search with ""' do
|
2014-09-03 12:18:23 -04:00
|
|
|
filter_issue ""
|
2012-09-10 08:34:01 -04:00
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'project "Shop" has milestone "v2.2"' do
|
2013-05-05 10:01:10 -04:00
|
|
|
milestone = create(:milestone, title: "v2.2", project: project)
|
2012-09-10 08:34:01 -04:00
|
|
|
|
2013-05-05 10:01:10 -04:00
|
|
|
3.times { create(:issue, project: project, milestone: milestone) }
|
2012-09-10 08:34:01 -04:00
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'project "Shop" has milestone "v3.0"' do
|
2013-05-05 10:01:10 -04:00
|
|
|
milestone = create(:milestone, title: "v3.0", project: project)
|
2012-09-10 08:34:01 -04:00
|
|
|
|
2013-05-05 10:01:10 -04:00
|
|
|
3.times { create(:issue, project: project, milestone: milestone) }
|
2012-09-10 08:34:01 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
When 'I select milestone "v3.0"' do
|
|
|
|
select "v3.0", from: "milestone_id"
|
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'I should see selected milestone with title "v3.0"' do
|
2012-12-18 22:14:05 -05:00
|
|
|
issues_milestone_selector = "#issue_milestone_id_chzn > a"
|
2015-06-12 00:44:13 -04:00
|
|
|
expect(find(issues_milestone_selector)).to have_content("v3.0")
|
2012-09-10 08:34:01 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
When 'I select first assignee from "Shop" project' do
|
|
|
|
first_assignee = project.users.first
|
|
|
|
select first_assignee.name, from: "assignee_id"
|
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'I should see first assignee from "Shop" as selected assignee' do
|
2012-12-18 22:14:05 -05:00
|
|
|
issues_assignee_selector = "#issue_assignee_id_chzn > a"
|
2014-09-03 12:18:23 -04:00
|
|
|
|
2012-09-10 08:34:01 -04:00
|
|
|
assignee_name = project.users.first.name
|
2015-06-12 00:44:13 -04:00
|
|
|
expect(find(issues_assignee_selector)).to have_content(assignee_name)
|
2012-09-10 08:34:01 -04:00
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'project "Shop" have "Release 0.4" open issue' do
|
2012-11-05 22:31:55 -05:00
|
|
|
create(:issue,
|
2013-05-05 10:01:10 -04:00
|
|
|
title: "Release 0.4",
|
|
|
|
project: project,
|
2014-02-04 02:48:33 -05:00
|
|
|
author: project.users.first,
|
|
|
|
description: "# Description header"
|
|
|
|
)
|
2012-09-10 08:34:01 -04:00
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'project "Shop" have "Tweet control" open issue' do
|
2013-09-26 12:05:55 -04:00
|
|
|
create(:issue,
|
2013-09-27 09:25:24 -04:00
|
|
|
title: "Tweet control",
|
2013-09-26 12:05:55 -04:00
|
|
|
project: project,
|
|
|
|
author: project.users.first)
|
|
|
|
end
|
|
|
|
|
2016-02-17 08:32:02 -05:00
|
|
|
step 'project "Shop" have "Bugfix" open issue' do
|
|
|
|
create(:issue,
|
|
|
|
title: "Bugfix",
|
|
|
|
project: project,
|
|
|
|
author: project.users.first)
|
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'project "Shop" have "Release 0.3" closed issue' do
|
2013-02-18 05:43:08 -05:00
|
|
|
create(:closed_issue,
|
2013-05-05 10:01:10 -04:00
|
|
|
title: "Release 0.3",
|
|
|
|
project: project,
|
|
|
|
author: project.users.first)
|
2012-09-10 08:34:01 -04:00
|
|
|
end
|
2014-04-08 11:12:57 -04:00
|
|
|
|
2016-02-17 08:32:02 -05:00
|
|
|
step 'issue "Release 0.4" have 2 upvotes and 1 downvote' do
|
2016-04-25 14:10:20 -04:00
|
|
|
awardable = Issue.find_by(title: 'Release 0.4')
|
2016-05-25 09:43:07 -04:00
|
|
|
create_list(:award_emoji, 2, awardable: awardable)
|
|
|
|
create(:award_emoji, :downvote, awardable: awardable)
|
2016-02-17 08:32:02 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
step 'issue "Tweet control" have 1 upvote and 2 downvotes' do
|
2016-05-25 09:43:07 -04:00
|
|
|
awardable = Issue.find_by(title: 'Tweet control')
|
|
|
|
create(:award_emoji, :upvote, awardable: awardable)
|
|
|
|
create_list(:award_emoji, 2, awardable: awardable, name: 'thumbsdown')
|
2016-02-17 08:32:02 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
step 'The list should be sorted by "Least popular"' do
|
|
|
|
page.within '.issues-list' do
|
|
|
|
page.within 'li.issue:nth-child(1)' do
|
|
|
|
expect(page).to have_content 'Tweet control'
|
|
|
|
expect(page).to have_content '1 2'
|
|
|
|
end
|
|
|
|
|
|
|
|
page.within 'li.issue:nth-child(2)' do
|
|
|
|
expect(page).to have_content 'Release 0.4'
|
|
|
|
expect(page).to have_content '2 1'
|
|
|
|
end
|
|
|
|
|
|
|
|
page.within 'li.issue:nth-child(3)' do
|
|
|
|
expect(page).to have_content 'Bugfix'
|
2016-05-23 19:37:59 -04:00
|
|
|
expect(page).not_to have_content '0 0'
|
2016-02-17 08:32:02 -05:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
step 'The list should be sorted by "Most popular"' do
|
|
|
|
page.within '.issues-list' do
|
|
|
|
page.within 'li.issue:nth-child(1)' do
|
|
|
|
expect(page).to have_content 'Release 0.4'
|
|
|
|
expect(page).to have_content '2 1'
|
|
|
|
end
|
|
|
|
|
|
|
|
page.within 'li.issue:nth-child(2)' do
|
|
|
|
expect(page).to have_content 'Tweet control'
|
|
|
|
expect(page).to have_content '1 2'
|
|
|
|
end
|
|
|
|
|
|
|
|
page.within 'li.issue:nth-child(3)' do
|
|
|
|
expect(page).to have_content 'Bugfix'
|
2016-05-23 19:37:59 -04:00
|
|
|
expect(page).not_to have_content '0 0'
|
2016-02-17 08:32:02 -05:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'empty project "Empty Project"' do
|
2016-03-19 13:11:46 -04:00
|
|
|
create :project_empty_repo, name: 'Empty Project', namespace: @user.namespace
|
2014-04-08 11:12:57 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
When 'I visit empty project page' do
|
|
|
|
project = Project.find_by(name: 'Empty Project')
|
2015-01-24 13:02:58 -05:00
|
|
|
visit namespace_project_path(project.namespace, project)
|
2014-04-08 11:12:57 -04:00
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'I see empty project details with ssh clone info' do
|
2014-04-08 11:12:57 -04:00
|
|
|
project = Project.find_by(name: 'Empty Project')
|
2015-06-01 17:43:59 -04:00
|
|
|
page.all(:css, '.git-empty .clone').each do |element|
|
2015-06-12 00:44:13 -04:00
|
|
|
expect(element.text).to include(project.url_to_repo)
|
2014-04-08 11:12:57 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-07-08 10:55:04 -04:00
|
|
|
When "I visit project \"Community\" issues page" do
|
|
|
|
project = Project.find_by(name: 'Community')
|
|
|
|
visit namespace_project_issues_path(project.namespace, project)
|
|
|
|
end
|
|
|
|
|
2014-04-08 11:12:57 -04:00
|
|
|
When "I visit empty project's issues page" do
|
|
|
|
project = Project.find_by(name: 'Empty Project')
|
2015-01-24 13:02:58 -05:00
|
|
|
visit namespace_project_issues_path(project.namespace, project)
|
2014-04-08 11:12:57 -04:00
|
|
|
end
|
2014-05-23 06:58:34 -04:00
|
|
|
|
|
|
|
step 'I leave a comment with code block' do
|
2015-06-12 01:36:00 -04:00
|
|
|
page.within(".js-main-target-form") do
|
2014-05-23 06:58:34 -04:00
|
|
|
fill_in "note[note]", with: "```\nCommand [1]: /usr/local/bin/git , see [text](doc/text)\n```"
|
2016-03-04 08:52:29 -05:00
|
|
|
click_button "Comment"
|
2014-05-23 06:58:34 -04:00
|
|
|
sleep 0.05
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-03-20 08:11:12 -04:00
|
|
|
step 'I should see an error alert section within the comment form' do
|
2015-06-12 01:36:00 -04:00
|
|
|
page.within(".js-main-target-form") do
|
2015-03-20 08:11:12 -04:00
|
|
|
find(".error-alert")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2014-05-23 06:58:34 -04:00
|
|
|
step 'The code block should be unchanged' do
|
2015-11-15 15:30:05 -05:00
|
|
|
expect(page).to have_content("```\nCommand [1]: /usr/local/bin/git , see [text](doc/text)\n```")
|
2014-05-23 06:58:34 -04:00
|
|
|
end
|
2014-08-15 15:51:43 -04:00
|
|
|
|
2014-08-19 21:43:02 -04:00
|
|
|
step 'project \'Shop\' has issue \'Bugfix1\' with description: \'Description for issue1\'' do
|
2015-10-03 20:59:54 -04:00
|
|
|
create(:issue, title: 'Bugfix1', description: 'Description for issue1', project: project)
|
2014-08-15 15:51:43 -04:00
|
|
|
end
|
|
|
|
|
2014-08-19 21:43:02 -04:00
|
|
|
step 'project \'Shop\' has issue \'Feature1\' with description: \'Feature submitted for issue1\'' do
|
2015-10-03 20:59:54 -04:00
|
|
|
create(:issue, title: 'Feature1', description: 'Feature submitted for issue1', project: project)
|
2014-08-15 15:51:43 -04:00
|
|
|
end
|
|
|
|
|
2014-08-19 21:43:02 -04:00
|
|
|
step 'I fill in issue search with \'Description for issue1\'' do
|
2014-09-03 12:18:23 -04:00
|
|
|
filter_issue 'Description for issue'
|
2014-08-15 15:51:43 -04:00
|
|
|
end
|
|
|
|
|
2014-08-19 21:43:02 -04:00
|
|
|
step 'I fill in issue search with \'issue1\'' do
|
2014-09-03 12:18:23 -04:00
|
|
|
filter_issue 'issue1'
|
2014-08-15 15:51:43 -04:00
|
|
|
end
|
|
|
|
|
2014-08-19 21:43:02 -04:00
|
|
|
step 'I fill in issue search with \'Rock and roll\'' do
|
2016-08-17 20:05:41 -04:00
|
|
|
filter_issue 'Rock and roll'
|
2014-08-15 15:51:43 -04:00
|
|
|
end
|
|
|
|
|
2014-08-19 21:43:02 -04:00
|
|
|
step 'I should see \'Bugfix1\' in issues' do
|
2015-06-12 00:44:13 -04:00
|
|
|
expect(page).to have_content 'Bugfix1'
|
2014-08-15 15:51:43 -04:00
|
|
|
end
|
|
|
|
|
2014-08-19 21:43:02 -04:00
|
|
|
step 'I should see \'Feature1\' in issues' do
|
2015-06-12 00:44:13 -04:00
|
|
|
expect(page).to have_content 'Feature1'
|
2014-08-15 15:51:43 -04:00
|
|
|
end
|
|
|
|
|
2014-08-19 21:43:02 -04:00
|
|
|
step 'I should not see \'Bugfix1\' in issues' do
|
2015-06-12 00:44:13 -04:00
|
|
|
expect(page).not_to have_content 'Bugfix1'
|
2014-08-15 15:51:43 -04:00
|
|
|
end
|
2014-09-03 12:18:23 -04:00
|
|
|
|
2014-09-11 07:31:19 -04:00
|
|
|
step 'issue \'Release 0.4\' has label \'bug\'' do
|
|
|
|
label = project.labels.create!(name: 'bug', color: '#990000')
|
|
|
|
issue = Issue.find_by!(title: 'Release 0.4')
|
|
|
|
issue.labels << label
|
|
|
|
end
|
|
|
|
|
|
|
|
step 'I click label \'bug\'' do
|
2015-06-12 01:36:00 -04:00
|
|
|
page.within ".issues-list" do
|
2014-09-11 07:31:19 -04:00
|
|
|
click_link 'bug'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-06-25 10:38:14 -04:00
|
|
|
step 'I should not see labels field' do
|
2015-06-26 10:01:02 -04:00
|
|
|
page.within '.issue-form' do
|
2015-06-25 10:38:14 -04:00
|
|
|
expect(page).not_to have_content("Labels")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
step 'I should not see milestone field' do
|
2015-06-26 10:01:02 -04:00
|
|
|
page.within '.issue-form' do
|
2015-06-25 10:38:14 -04:00
|
|
|
expect(page).not_to have_content("Milestone")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
step 'I should not see assignee field' do
|
2015-06-26 10:01:02 -04:00
|
|
|
page.within '.issue-form' do
|
2015-06-25 10:38:14 -04:00
|
|
|
expect(page).not_to have_content("Assign to")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-12-12 18:39:47 -05:00
|
|
|
step 'another user adds a comment with text "Yay!" to issue "Release 0.4"' do
|
|
|
|
issue = Issue.find_by!(title: 'Release 0.4')
|
2016-04-26 07:52:18 -04:00
|
|
|
create(:note_on_issue, noteable: issue, project: project, note: 'Yay!')
|
2015-12-12 18:39:47 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
step 'I should see a new comment with text "Yay!"' do
|
|
|
|
page.within '#notes' do
|
|
|
|
expect(page).to have_content('Yay!')
|
|
|
|
end
|
|
|
|
end
|
2016-01-18 21:39:23 -05:00
|
|
|
|
2014-09-03 12:18:23 -04:00
|
|
|
def filter_issue(text)
|
2016-06-27 16:22:19 -04:00
|
|
|
fill_in 'issuable_search', with: text
|
2014-09-03 12:18:23 -04:00
|
|
|
end
|
2012-09-10 08:34:01 -04:00
|
|
|
end
|