Commit e0de3533 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch 'cngo-remove-loading-feature-spec' into 'master'

Delete filtered search loading feature spec

See merge request gitlab-org/gitlab!79113
parents ec3e3942 d834589b
...@@ -24,23 +24,6 @@ RSpec.describe 'Dropdown base', :js do ...@@ -24,23 +24,6 @@ RSpec.describe 'Dropdown base', :js do
visit project_issues_path(project) visit project_issues_path(project)
end end
describe 'behavior' do
it 'shows loading indicator when opened' do
slow_requests do
# We aren't using `input_filtered_search` because we want to see the loading indicator
filtered_search.set('assignee:=')
expect(page).to have_css("#{js_dropdown_assignee} .filter-dropdown-loading", visible: true)
end
end
it 'hides loading indicator when loaded' do
input_filtered_search('assignee:=', submit: false, extra_space: false)
expect(find(js_dropdown_assignee)).not_to have_css('.filter-dropdown-loading')
end
end
describe 'caching requests' do describe 'caching requests' do
it 'caches requests after the first load' do it 'caches requests after the first load' do
input_filtered_search('assignee:=', submit: false, extra_space: false) input_filtered_search('assignee:=', submit: false, extra_space: false)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment