Commit e0ba797d authored by Austin Regnery's avatar Austin Regnery Committed by Miguel Rincon

Update variant to confirm

Changelog: changed
parent 18ad8ce2
...@@ -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