summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-09-01 11:10:07 -0400
committerRobert Speicher <rspeicher@gmail.com>2017-09-01 11:10:07 -0400
commit4a6ab78050e4f0ea6b19c059cd0b3f15e4c38dac (patch)
tree6b58c163a01a92de6b77073f6be45cdda0505aac
parent74223804ce641bf7d5d4055b875d440c6c8977df (diff)
downloadgitlab-ce-4a6ab78050e4f0ea6b19c059cd0b3f15e4c38dac.tar.gz
Shorten the search input for "text with other filters" specrs-filtered-issue-search-speed
The assignee wasn't important to the test, and shortening the query allowed us to avoid the "horizontal scroll" failure without having to stub the `sidebar_collapsed?` helper.
-rw-r--r--spec/features/issues/filtered_search/filter_issues_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/issues/filtered_search/filter_issues_spec.rb b/spec/features/issues/filtered_search/filter_issues_spec.rb
index cc867c5108a..3ea6e1c8863 100644
--- a/spec/features/issues/filtered_search/filter_issues_spec.rb
+++ b/spec/features/issues/filtered_search/filter_issues_spec.rb
@@ -397,7 +397,7 @@ describe 'Filter issues', js: true do
context 'searched text with other filters' do
it 'filters issues by searched text, author, text, assignee, text, label1, text, label2, text, milestone and text' do
- input_filtered_search("bug author:@#{user.username} assignee:@#{user.username} report label:~#{bug_label.title} label:~#{caps_sensitive_label.title} milestone:%#{milestone.title} foo")
+ input_filtered_search("bug author:@#{user.username} report label:~#{bug_label.title} label:~#{caps_sensitive_label.title} milestone:%#{milestone.title} foo")
expect_issues_list_count(1)
expect_filtered_search_input('bug report foo')