diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-22 06:08:38 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-22 06:08:38 +0300 |
commit | d573c616f31a16124bf8a5fdacf978c256344717 (patch) | |
tree | 79ad13d6434a5f4a1d8cb7d82612302ac0141be3 /app/assets/javascripts/lib | |
parent | bc85eaf6152e1d63b016576d057b12cb9a243c3f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/lib')
-rw-r--r-- | app/assets/javascripts/lib/utils/confirm_via_gl_modal/confirm_modal.vue | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/assets/javascripts/lib/utils/confirm_via_gl_modal/confirm_modal.vue b/app/assets/javascripts/lib/utils/confirm_via_gl_modal/confirm_modal.vue index f3380b7b4ba..fd52c498ee0 100644 --- a/app/assets/javascripts/lib/utils/confirm_via_gl_modal/confirm_modal.vue +++ b/app/assets/javascripts/lib/utils/confirm_via_gl_modal/confirm_modal.vue @@ -39,7 +39,13 @@ export default { }, computed: { primaryAction() { - return { text: this.primaryText, attributes: { variant: this.primaryVariant } }; + return { + text: this.primaryText, + attributes: { + variant: this.primaryVariant, + 'data-qa-selector': 'confirm_ok_button', + }, + }; }, cancelAction() { return this.hideCancel ? null : this.$options.cancelAction; |