diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-12 21:17:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-12 21:17:07 +0300 |
commit | 6ce6d20cf0b81275bad7bf8e95cf49bd475c5c4f (patch) | |
tree | ba258f58856f457f94daf4b3dbf85045f4e07acc /spec/frontend/pages | |
parent | c1a7bcdf1bfef9455bc58b1737f52530bf681a90 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/pages')
5 files changed, 7 insertions, 7 deletions
diff --git a/spec/frontend/pages/admin/projects/components/namespace_select_spec.js b/spec/frontend/pages/admin/projects/components/namespace_select_spec.js index 834d14e0fb3..c00dbc0ec02 100644 --- a/spec/frontend/pages/admin/projects/components/namespace_select_spec.js +++ b/spec/frontend/pages/admin/projects/components/namespace_select_spec.js @@ -45,7 +45,7 @@ describe('NamespaceSelect', () => { expect(findNamespaceInput().exists()).toBe(false); }); - it('sets appropriate props', async () => { + it('sets appropriate props', () => { expect(findListbox().props()).toMatchObject({ items: [ { text: 'user: Administrator', value: '10' }, @@ -84,7 +84,7 @@ describe('NamespaceSelect', () => { expect(findNamespaceInput().attributes('value')).toBe(selectId); }); - it('updates the listbox value', async () => { + it('updates the listbox value', () => { expect(findListbox().props()).toMatchObject({ selected: selectId, toggleText: expectToggleText, diff --git a/spec/frontend/pages/import/bitbucket_server/components/bitbucket_server_status_table_spec.js b/spec/frontend/pages/import/bitbucket_server/components/bitbucket_server_status_table_spec.js index b020caa3010..8eab5061e97 100644 --- a/spec/frontend/pages/import/bitbucket_server/components/bitbucket_server_status_table_spec.js +++ b/spec/frontend/pages/import/bitbucket_server/components/bitbucket_server_status_table_spec.js @@ -39,7 +39,7 @@ describe('BitbucketServerStatusTable', () => { expect(wrapper.findComponent(BitbucketStatusTable).exists()).toBe(true); }); - it('renders Reconfigure button', async () => { + it('renders Reconfigure button', () => { createComponent(BitbucketStatusTableStub); expect(findReconfigureButton().attributes().href).toBe('/reconfigure'); expect(findReconfigureButton().text()).toBe('Reconfigure'); diff --git a/spec/frontend/pages/import/bulk_imports/history/components/bulk_imports_history_app_spec.js b/spec/frontend/pages/import/bulk_imports/history/components/bulk_imports_history_app_spec.js index 477511cde64..8a7fc57c409 100644 --- a/spec/frontend/pages/import/bulk_imports/history/components/bulk_imports_history_app_spec.js +++ b/spec/frontend/pages/import/bulk_imports/history/components/bulk_imports_history_app_spec.js @@ -192,7 +192,7 @@ describe('BulkImportsHistoryApp', () => { return axios.waitForAll(); }); - it('renders details button if relevant item has failures', async () => { + it('renders details button if relevant item has failures', () => { expect( extendedWrapper(wrapper.find('tbody').findAll('tr').at(1)).findByText('Details').exists(), ).toBe(true); diff --git a/spec/frontend/pages/import/history/components/import_history_app_spec.js b/spec/frontend/pages/import/history/components/import_history_app_spec.js index bc9762abf86..8e14b5a24f8 100644 --- a/spec/frontend/pages/import/history/components/import_history_app_spec.js +++ b/spec/frontend/pages/import/history/components/import_history_app_spec.js @@ -166,7 +166,7 @@ describe('ImportHistoryApp', () => { return axios.waitForAll(); }); - it('renders details button if relevant item has failed', async () => { + it('renders details button if relevant item has failed', () => { expect( extendedWrapper(wrapper.find('tbody').findAll('tr').at(1)).findByText('Details').exists(), ).toBe(true); diff --git a/spec/frontend/pages/shared/wikis/components/wiki_form_spec.js b/spec/frontend/pages/shared/wikis/components/wiki_form_spec.js index c6ca1b10dc9..ddaa3df71e8 100644 --- a/spec/frontend/pages/shared/wikis/components/wiki_form_spec.js +++ b/spec/frontend/pages/shared/wikis/components/wiki_form_spec.js @@ -304,7 +304,7 @@ describe('WikiForm', () => { expect(findFormat().element.getAttribute('disabled')).toBeDefined(); }); - it('sends tracking event when editor loads', async () => { + it('sends tracking event when editor loads', () => { expect(trackingSpy).toHaveBeenCalledWith(undefined, CONTENT_EDITOR_LOADED_ACTION, { label: WIKI_CONTENT_EDITOR_TRACKING_LABEL, }); @@ -318,7 +318,7 @@ describe('WikiForm', () => { await triggerFormSubmit(); }); - it('triggers tracking events on form submit', async () => { + it('triggers tracking events on form submit', () => { expect(trackingSpy).toHaveBeenCalledWith(undefined, SAVED_USING_CONTENT_EDITOR_ACTION, { label: WIKI_CONTENT_EDITOR_TRACKING_LABEL, }); |