Commit 14858399 authored by Miguel Rincon's avatar Miguel Rincon

Merge branch 'aregnery/add-variable-update-variant' into 'master'

Change variant to confirm for add variable button in modal

See merge request gitlab-org/gitlab!84730
parents 44fddc2a e0ba797d
...@@ -405,7 +405,7 @@ export default { ...@@ -405,7 +405,7 @@ export default {
<gl-button <gl-button
ref="updateOrAddVariable" ref="updateOrAddVariable"
:disabled="!canSubmit" :disabled="!canSubmit"
variant="success" variant="confirm"
category="primary" category="primary"
data-qa-selector="ci_variable_save_button" data-qa-selector="ci_variable_save_button"
@click="updateOrAddVariable" @click="updateOrAddVariable"
......
...@@ -36,7 +36,7 @@ describe('Ci variable modal', () => { ...@@ -36,7 +36,7 @@ describe('Ci variable modal', () => {
const findAddorUpdateButton = () => const findAddorUpdateButton = () =>
findModal() findModal()
.findAll(GlButton) .findAll(GlButton)
.wrappers.find((button) => button.props('variant') === 'success'); .wrappers.find((button) => button.props('variant') === 'confirm');
const deleteVariableButton = () => const deleteVariableButton = () =>
findModal() findModal()
.findAll(GlButton) .findAll(GlButton)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment