diff options
author | Tanya Pazitny <tpazitny@gitlab.com> | 2019-07-29 19:22:22 +0000 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2019-07-29 19:22:22 +0000 |
commit | e3fb7f7725389e96a01703943b87aa97f14762c2 (patch) | |
tree | 0f5980512ef2aee5a9cd628cd8b71d521b7ebfa8 /spec/frontend/vue_shared/components | |
parent | c7a7e795b9482e33df8fb50e2c22a132263ab533 (diff) | |
download | gitlab-ce-e3fb7f7725389e96a01703943b87aa97f14762c2.tar.gz |
Change qa-* class references to js-* for suggestions
Diffstat (limited to 'spec/frontend/vue_shared/components')
-rw-r--r-- | spec/frontend/vue_shared/components/markdown/header_spec.js | 2 | ||||
-rw-r--r-- | spec/frontend/vue_shared/components/markdown/suggestion_diff_header_spec.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/vue_shared/components/markdown/header_spec.js b/spec/frontend/vue_shared/components/markdown/header_spec.js index aa0b544f948..48f2ee86619 100644 --- a/spec/frontend/vue_shared/components/markdown/header_spec.js +++ b/spec/frontend/vue_shared/components/markdown/header_spec.js @@ -101,7 +101,7 @@ describe('Markdown field header component', () => { vm.canSuggest = false; Vue.nextTick(() => { - expect(vm.$el.querySelector('.qa-suggestion-btn')).toBe(null); + expect(vm.$el.querySelector('.js-suggestion-btn')).toBe(null); }); }); }); diff --git a/spec/frontend/vue_shared/components/markdown/suggestion_diff_header_spec.js b/spec/frontend/vue_shared/components/markdown/suggestion_diff_header_spec.js index d69b4c7c162..6716e5cd794 100644 --- a/spec/frontend/vue_shared/components/markdown/suggestion_diff_header_spec.js +++ b/spec/frontend/vue_shared/components/markdown/suggestion_diff_header_spec.js @@ -28,8 +28,8 @@ describe('Suggestion Diff component', () => { wrapper.destroy(); }); - const findApplyButton = () => wrapper.find('.qa-apply-btn'); - const findHeader = () => wrapper.find('.qa-suggestion-diff-header'); + const findApplyButton = () => wrapper.find('.js-apply-btn'); + const findHeader = () => wrapper.find('.js-suggestion-diff-header'); const findHelpButton = () => wrapper.find('.js-help-btn'); const findLoading = () => wrapper.find(GlLoadingIcon); |