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-29 18:09:12 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-06-29 18:09:12 +0300
commit4821e72a016e4559b53b85ef12cb3971864419b0 (patch)
tree2f039055e48a8a00d2f10a4cdd65ed3a17cc8c32 /spec/frontend/pipelines/header_component_spec.js
parentf167d24074de8777f1d445af884a7315763aa213 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/pipelines/header_component_spec.js')
-rw-r--r--spec/frontend/pipelines/header_component_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/pipelines/header_component_spec.js b/spec/frontend/pipelines/header_component_spec.js
index 5cc11adf696..859be8d342c 100644
--- a/spec/frontend/pipelines/header_component_spec.js
+++ b/spec/frontend/pipelines/header_component_spec.js
@@ -205,7 +205,7 @@ describe('Pipeline details header', () => {
});
it('should call deletePipeline Mutation with pipeline id when modal is submitted', () => {
- findDeleteModal().vm.$emit('ok');
+ findDeleteModal().vm.$emit('primary');
expect(wrapper.vm.$apollo.mutate).toHaveBeenCalledWith({
mutation: deletePipelineMutation,
@@ -223,7 +223,7 @@ describe('Pipeline details header', () => {
},
});
- findDeleteModal().vm.$emit('ok');
+ findDeleteModal().vm.$emit('primary');
await waitForPromises();
expect(findAlert().text()).toBe(failureMessage);