diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-22 12:08:41 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-22 12:08:41 +0000 |
commit | edd183a633915eacd9b73cab43ea839a4cd42bf6 (patch) | |
tree | e950000a90a3ebf05d135b5add8e569fafffbd38 /spec/features/merge_requests | |
parent | 9dab4d7b6492628eb9222f14954fdd8889bd6e34 (diff) | |
download | gitlab-ce-edd183a633915eacd9b73cab43ea839a4cd42bf6.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/merge_requests')
-rw-r--r-- | spec/features/merge_requests/user_filters_by_target_branch_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/features/merge_requests/user_filters_by_target_branch_spec.rb b/spec/features/merge_requests/user_filters_by_target_branch_spec.rb index 540d87eb969..1d9c80238f5 100644 --- a/spec/features/merge_requests/user_filters_by_target_branch_spec.rb +++ b/spec/features/merge_requests/user_filters_by_target_branch_spec.rb @@ -44,4 +44,14 @@ RSpec.describe 'Merge Requests > User filters by target branch', :js do expect(page).not_to have_content mr2.title end end + + context 'filtering by target-branch:!=master' do + it 'applies the filter' do + input_filtered_search('target-branch:!=master') + + expect(page).to have_issuable_counts(open: 1, closed: 0, all: 1) + expect(page).not_to have_content mr1.title + expect(page).to have_content mr2.title + end + end end |