diff options
author | Brandon Labuschagne <blabuschagne@gitlab.com> | 2019-03-18 15:09:07 +0300 |
---|---|---|
committer | Brandon Labuschagne <blabuschagne@gitlab.com> | 2019-03-18 15:09:07 +0300 |
commit | 193362482d8a43589d0cb7407769e741e521911e (patch) | |
tree | 5ca17736e68cb6544e0b0b496775abaeba450f34 /spec/javascripts/groups | |
parent | 076ebedccf70f5f22483e7ea164922a9b19410d3 (diff) |
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/groups')
-rw-r--r-- | spec/javascripts/groups/components/app_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/groups/components/app_spec.js b/spec/javascripts/groups/components/app_spec.js index d832441dc93..31873311e16 100644 --- a/spec/javascripts/groups/components/app_spec.js +++ b/spec/javascripts/groups/components/app_spec.js @@ -502,7 +502,7 @@ describe('AppComponent', () => { vm.isLoading = true; Vue.nextTick(() => { expect(vm.$el.querySelector('.loading-animation')).toBeDefined(); - expect(vm.$el.querySelector('i.fa').getAttribute('aria-label')).toBe('Loading groups'); + expect(vm.$el.querySelector('span').getAttribute('aria-label')).toBe('Loading groups'); done(); }); }); |