Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-10-24 14:00:46 +0300
committerMike Greiling <mike@pixelcog.com>2017-10-24 14:00:46 +0300
commitb2273415bfa251e4d7604a7dc5677996bda80725 (patch)
tree9e0bf89c48da1c78bf505e83940324ca763df7ae /spec/features/issues/filtered_search
parent6d0045d2671c11854ee1e34609f28526470f5ee2 (diff)
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.rb2
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