Commit d834589b authored by Coung Ngo's avatar Coung Ngo

Delete filtered search loading feature spec

Delete the expensive feature spec that checks for a loading
spinner because we have a cheaper jest test that checks
for a loading spinner in base_token_spec.js
parent eeceb35f
...@@ -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