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-10-20 12:40:42 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-10-20 12:40:42 +0300
commitee664acb356f8123f4f6b00b73c1e1cf0866c7fb (patch)
treef8479f94a28f66654c6a4f6fb99bad6b4e86a40e /spec/frontend/user_lists/components/edit_user_list_spec.js
parent62f7d5c5b69180e82ae8196b7b429eeffc8e7b4f (diff)
Add latest changes from gitlab-org/gitlab@15-5-stable-eev15.5.0-rc42
Diffstat (limited to 'spec/frontend/user_lists/components/edit_user_list_spec.js')
-rw-r--r--spec/frontend/user_lists/components/edit_user_list_spec.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/frontend/user_lists/components/edit_user_list_spec.js b/spec/frontend/user_lists/components/edit_user_list_spec.js
index 941c8244247..5f067d9de3c 100644
--- a/spec/frontend/user_lists/components/edit_user_list_spec.js
+++ b/spec/frontend/user_lists/components/edit_user_list_spec.js
@@ -47,7 +47,7 @@ describe('user_lists/components/edit_user_list', () => {
});
it('should show a loading icon', () => {
- expect(wrapper.find(GlLoadingIcon).exists()).toBe(true);
+ expect(wrapper.findComponent(GlLoadingIcon).exists()).toBe(true);
});
});
@@ -60,7 +60,7 @@ describe('user_lists/components/edit_user_list', () => {
factory();
await waitForPromises();
- alert = wrapper.find(GlAlert);
+ alert = wrapper.findComponent(GlAlert);
});
it('should show a flash with the error respopnse', () => {
@@ -72,7 +72,7 @@ describe('user_lists/components/edit_user_list', () => {
});
it('should not show a user list form', () => {
- expect(wrapper.find(UserListForm).exists()).toBe(false);
+ expect(wrapper.findComponent(UserListForm).exists()).toBe(false);
});
});
@@ -129,7 +129,7 @@ describe('user_lists/components/edit_user_list', () => {
clickSave();
await waitForPromises();
- alert = wrapper.find(GlAlert);
+ alert = wrapper.findComponent(GlAlert);
});
it('should show a flash with the error respopnse', () => {