Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-06-08 21:09:19 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-06-08 21:09:19 +0300
commit33ed90457e6c14d8344882efa01355c080e14149 (patch)
treeda22f262f096d619cbf79175bb54cd048a65f945 /spec/frontend/ci_variable_list
parente18e22ce4c7a4ee0680adda25e4cfa9cf4bb1be4 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/ci_variable_list')
-rw-r--r--spec/frontend/ci_variable_list/components/ci_variable_modal_spec.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/spec/frontend/ci_variable_list/components/ci_variable_modal_spec.js b/spec/frontend/ci_variable_list/components/ci_variable_modal_spec.js
index d26378d9382..7ce294ad11b 100644
--- a/spec/frontend/ci_variable_list/components/ci_variable_modal_spec.js
+++ b/spec/frontend/ci_variable_list/components/ci_variable_modal_spec.js
@@ -42,10 +42,7 @@ describe('Ci variable modal', () => {
const findCiEnvironmentsDropdown = () => wrapper.find(CiEnvironmentsDropdown);
const findModal = () => wrapper.find(ModalStub);
- const findAddorUpdateButton = () =>
- findModal()
- .findAll(GlButton)
- .wrappers.find((button) => button.props('variant') === 'confirm');
+ const findAddorUpdateButton = () => findModal().find('[data-testid="ciUpdateOrAddVariableBtn"]');
const deleteVariableButton = () =>
findModal()
.findAll(GlButton)