summaryrefslogtreecommitdiff
path: root/spec/javascripts/frequent_items
diff options
context:
space:
mode:
authorBrandon Labuschagne <blabuschagne@gitlab.com>2019-03-18 14:09:07 +0200
committerBrandon Labuschagne <blabuschagne@gitlab.com>2019-03-18 14:09:07 +0200
commit193362482d8a43589d0cb7407769e741e521911e (patch)
tree5ca17736e68cb6544e0b0b496775abaeba450f34 /spec/javascripts/frequent_items
parent076ebedccf70f5f22483e7ea164922a9b19410d3 (diff)
downloadgitlab-ce-193362482d8a43589d0cb7407769e741e521911e.tar.gz
Fix failing tests
A number of the karma tests looked for the .fa-spinner class or the icon element used for the font awesome spinner class. These instances have been refactored to now look for the .spinner class instead.
Diffstat (limited to 'spec/javascripts/frequent_items')
-rw-r--r--spec/javascripts/frequent_items/components/app_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/frequent_items/components/app_spec.js b/spec/javascripts/frequent_items/components/app_spec.js
index b1cc4d8dc8d..6814f656f5d 100644
--- a/spec/javascripts/frequent_items/components/app_spec.js
+++ b/spec/javascripts/frequent_items/components/app_spec.js
@@ -194,7 +194,7 @@ describe('Frequent Items App Component', () => {
expect(loadingEl).toBeDefined();
expect(loadingEl.classList.contains('prepend-top-20')).toBe(true);
- expect(loadingEl.querySelector('i').getAttribute('aria-label')).toBe('Loading projects');
+ expect(loadingEl.querySelector('span').getAttribute('aria-label')).toBe('Loading projects');
done();
});
});