diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-09 18:09:27 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-09 18:09:27 +0300 |
commit | be769d5fcced48143e92f83c997b7d5ba14873e1 (patch) | |
tree | 985b5acc88e4c235771bc19f5e9e7c746deaf9b3 /spec/frontend/jira_connect | |
parent | 3fd585614449ccab7fdab083f210c09eb16a6ed2 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/jira_connect')
-rw-r--r-- | spec/frontend/jira_connect/subscriptions/components/add_namespace_modal/groups_list_spec.js | 4 | ||||
-rw-r--r-- | spec/frontend/jira_connect/subscriptions/pages/subscriptions_page_spec.js | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/spec/frontend/jira_connect/subscriptions/components/add_namespace_modal/groups_list_spec.js b/spec/frontend/jira_connect/subscriptions/components/add_namespace_modal/groups_list_spec.js index 9d5bc8dff2a..845ada187ef 100644 --- a/spec/frontend/jira_connect/subscriptions/components/add_namespace_modal/groups_list_spec.js +++ b/spec/frontend/jira_connect/subscriptions/components/add_namespace_modal/groups_list_spec.js @@ -77,7 +77,7 @@ describe('GroupsList', () => { expect(findGlLoadingIcon().exists()).toBe(false); expect(findGlAlert().exists()).toBe(true); - expect(findGlAlert().text()).toBe('Failed to load namespaces. Please try again.'); + expect(findGlAlert().text()).toBe('Failed to load groups. Please try again.'); }); }); @@ -89,7 +89,7 @@ describe('GroupsList', () => { await waitForPromises(); expect(findGlLoadingIcon().exists()).toBe(false); - expect(wrapper.text()).toContain('No available namespaces'); + expect(wrapper.text()).toContain('No groups found'); }); }); diff --git a/spec/frontend/jira_connect/subscriptions/pages/subscriptions_page_spec.js b/spec/frontend/jira_connect/subscriptions/pages/subscriptions_page_spec.js index d262f4b2735..4819a870a27 100644 --- a/spec/frontend/jira_connect/subscriptions/pages/subscriptions_page_spec.js +++ b/spec/frontend/jira_connect/subscriptions/pages/subscriptions_page_spec.js @@ -44,9 +44,7 @@ describe('SubscriptionsPage', () => { }); }); - it(`${ - subscriptionsLoading ? 'does not render' : 'renders' - } button to add namespace`, () => { + it(`${subscriptionsLoading ? 'does not render' : 'renders'} button to add group`, () => { expect(findAddNamespaceButton().exists()).toBe(!subscriptionsLoading); }); |