diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-11-02 17:47:20 +0300 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-11-09 18:29:07 +0300 |
commit | 6cbf6c5203302c651e606294d746fb33d6bf38c3 (patch) | |
tree | 7e6dbd4925a01d4af8d5aa24ff74a86fef305463 /spec/features/merge_requests/filter_by_labels_spec.rb | |
parent | 2f644452523cd7f30bf61d15a88e1aab5d818a48 (diff) |
Move clear search test to JS to reduce overkill
Part of https://gitlab.com/gitlab-org/gitlab-ce/issues/33661
Diffstat (limited to 'spec/features/merge_requests/filter_by_labels_spec.rb')
-rw-r--r-- | spec/features/merge_requests/filter_by_labels_spec.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/spec/features/merge_requests/filter_by_labels_spec.rb b/spec/features/merge_requests/filter_by_labels_spec.rb index 9912e8165e6..7adae08e499 100644 --- a/spec/features/merge_requests/filter_by_labels_spec.rb +++ b/spec/features/merge_requests/filter_by_labels_spec.rb @@ -79,22 +79,6 @@ feature 'Merge Request filtering by Labels', :js do end end - context 'clear button' do - before do - input_filtered_search('label:~bug') - end - - it 'allows user to remove filtered labels' do - first('.clear-search').click - filtered_search.send_keys(:enter) - - expect(page).to have_issuable_counts(open: 3, closed: 0, all: 3) - expect(page).to have_content "Bugfix2" - expect(page).to have_content "Feature1" - expect(page).to have_content "Bugfix1" - end - end - context 'filter dropdown' do it 'filters by label name' do init_label_search |