diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-10-24 14:00:46 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-10-24 14:00:46 +0300 |
commit | b2273415bfa251e4d7604a7dc5677996bda80725 (patch) | |
tree | 9e0bf89c48da1c78bf505e83940324ca763df7ae /spec/features/issues/filtered_search | |
parent | 6d0045d2671c11854ee1e34609f28526470f5ee2 (diff) | |
download | gitlab-ce-b2273415bfa251e4d7604a7dc5677996bda80725.tar.gz |
fix race condition when loading labels in filter bar
Diffstat (limited to 'spec/features/issues/filtered_search')
-rw-r--r-- | spec/features/issues/filtered_search/dropdown_label_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/issues/filtered_search/dropdown_label_spec.rb b/spec/features/issues/filtered_search/dropdown_label_spec.rb index cbc4f8d4c50..40a59f834ba 100644 --- a/spec/features/issues/filtered_search/dropdown_label_spec.rb +++ b/spec/features/issues/filtered_search/dropdown_label_spec.rb @@ -68,7 +68,7 @@ describe 'Dropdown label', :js do it 'shows loading indicator when opened and hides it when loaded' do filtered_search.set('label:') - expect(find(js_dropdown_label)).to have_css('.filter-dropdown-loading') + expect(page).to have_css("#{js_dropdown_label} .filter-dropdown-loading", visible: true) expect(find(js_dropdown_label)).not_to have_css('.filter-dropdown-loading') end |