diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-09 12:08:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-09 12:08:36 +0300 |
commit | a74ca2457e7c8a26ff5e12211d741b473c86c0b8 (patch) | |
tree | 94c510c39dc9646ffd0c3af676ada798af74a444 /spec/frontend/integrations | |
parent | 06af519348e7254062a7d03ef3e421356ff8c64a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/integrations')
18 files changed, 0 insertions, 66 deletions
diff --git a/spec/frontend/integrations/edit/components/active_checkbox_spec.js b/spec/frontend/integrations/edit/components/active_checkbox_spec.js index 1f7a5f0dbc9..8afff842a85 100644 --- a/spec/frontend/integrations/edit/components/active_checkbox_spec.js +++ b/spec/frontend/integrations/edit/components/active_checkbox_spec.js @@ -17,10 +17,6 @@ describe('ActiveCheckbox', () => { }); }; - afterEach(() => { - wrapper.destroy(); - }); - const findGlFormCheckbox = () => wrapper.findComponent(GlFormCheckbox); const findInputInCheckbox = () => findGlFormCheckbox().find('input'); diff --git a/spec/frontend/integrations/edit/components/confirmation_modal_spec.js b/spec/frontend/integrations/edit/components/confirmation_modal_spec.js index cbe3402727a..dfb6b7d9a9c 100644 --- a/spec/frontend/integrations/edit/components/confirmation_modal_spec.js +++ b/spec/frontend/integrations/edit/components/confirmation_modal_spec.js @@ -14,10 +14,6 @@ describe('ConfirmationModal', () => { }); }; - afterEach(() => { - wrapper.destroy(); - }); - const findGlModal = () => wrapper.findComponent(GlModal); describe('template', () => { diff --git a/spec/frontend/integrations/edit/components/dynamic_field_spec.js b/spec/frontend/integrations/edit/components/dynamic_field_spec.js index 7589b04b0fd..e1d9aef752f 100644 --- a/spec/frontend/integrations/edit/components/dynamic_field_spec.js +++ b/spec/frontend/integrations/edit/components/dynamic_field_spec.js @@ -21,10 +21,6 @@ describe('DynamicField', () => { }); }; - afterEach(() => { - wrapper.destroy(); - }); - const findGlFormGroup = () => wrapper.findComponent(GlFormGroup); const findGlFormCheckbox = () => wrapper.findComponent(GlFormCheckbox); const findGlFormInput = () => wrapper.findComponent(GlFormInput); diff --git a/spec/frontend/integrations/edit/components/integration_form_spec.js b/spec/frontend/integrations/edit/components/integration_form_spec.js index 2d74fe0a7d8..58fb456eb53 100644 --- a/spec/frontend/integrations/edit/components/integration_form_spec.js +++ b/spec/frontend/integrations/edit/components/integration_form_spec.js @@ -84,7 +84,6 @@ describe('IntegrationForm', () => { }); afterEach(() => { - wrapper.destroy(); mockAxios.restore(); }); diff --git a/spec/frontend/integrations/edit/components/jira_issues_fields_spec.js b/spec/frontend/integrations/edit/components/jira_issues_fields_spec.js index fa91f8de45a..90ee69ef2dc 100644 --- a/spec/frontend/integrations/edit/components/jira_issues_fields_spec.js +++ b/spec/frontend/integrations/edit/components/jira_issues_fields_spec.js @@ -31,10 +31,6 @@ describe('JiraIssuesFields', () => { }); }; - afterEach(() => { - wrapper.destroy(); - }); - const findEnableCheckbox = () => wrapper.findComponent(GlFormCheckbox); const findEnableCheckboxDisabled = () => findEnableCheckbox().find('[type=checkbox]').attributes('disabled'); diff --git a/spec/frontend/integrations/edit/components/jira_trigger_fields_spec.js b/spec/frontend/integrations/edit/components/jira_trigger_fields_spec.js index 6011b3e6edc..f876a497f98 100644 --- a/spec/frontend/integrations/edit/components/jira_trigger_fields_spec.js +++ b/spec/frontend/integrations/edit/components/jira_trigger_fields_spec.js @@ -22,10 +22,6 @@ describe('JiraTriggerFields', () => { }); }; - afterEach(() => { - wrapper.destroy(); - }); - const findCommentSettings = () => wrapper.findByTestId('comment-settings'); const findCommentDetail = () => wrapper.findByTestId('comment-detail'); const findCommentSettingsCheckbox = () => findCommentSettings().findComponent(GlFormCheckbox); diff --git a/spec/frontend/integrations/edit/components/override_dropdown_spec.js b/spec/frontend/integrations/edit/components/override_dropdown_spec.js index 90facaff1f9..2d1a6b3ace1 100644 --- a/spec/frontend/integrations/edit/components/override_dropdown_spec.js +++ b/spec/frontend/integrations/edit/components/override_dropdown_spec.js @@ -26,10 +26,6 @@ describe('OverrideDropdown', () => { }); }; - afterEach(() => { - wrapper.destroy(); - }); - const findGlLink = () => wrapper.findComponent(GlLink); const findGlDropdown = () => wrapper.findComponent(GlDropdown); diff --git a/spec/frontend/integrations/edit/components/sections/configuration_spec.js b/spec/frontend/integrations/edit/components/sections/configuration_spec.js index e697212ea0b..c8a7d17c041 100644 --- a/spec/frontend/integrations/edit/components/sections/configuration_spec.js +++ b/spec/frontend/integrations/edit/components/sections/configuration_spec.js @@ -19,10 +19,6 @@ describe('IntegrationSectionCoonfiguration', () => { }); }; - afterEach(() => { - wrapper.destroy(); - }); - const findAllDynamicFields = () => wrapper.findAllComponents(DynamicField); describe('template', () => { diff --git a/spec/frontend/integrations/edit/components/sections/connection_spec.js b/spec/frontend/integrations/edit/components/sections/connection_spec.js index 1eb92e80723..a24253d542d 100644 --- a/spec/frontend/integrations/edit/components/sections/connection_spec.js +++ b/spec/frontend/integrations/edit/components/sections/connection_spec.js @@ -20,10 +20,6 @@ describe('IntegrationSectionConnection', () => { }); }; - afterEach(() => { - wrapper.destroy(); - }); - const findActiveCheckbox = () => wrapper.findComponent(ActiveCheckbox); const findAllDynamicFields = () => wrapper.findAllComponents(DynamicField); diff --git a/spec/frontend/integrations/edit/components/sections/jira_issues_spec.js b/spec/frontend/integrations/edit/components/sections/jira_issues_spec.js index a7c1cc2a03f..8b39fa8f583 100644 --- a/spec/frontend/integrations/edit/components/sections/jira_issues_spec.js +++ b/spec/frontend/integrations/edit/components/sections/jira_issues_spec.js @@ -18,10 +18,6 @@ describe('IntegrationSectionJiraIssue', () => { }); }; - afterEach(() => { - wrapper.destroy(); - }); - const findJiraIssuesFields = () => wrapper.findComponent(JiraIssuesFields); describe('template', () => { diff --git a/spec/frontend/integrations/edit/components/sections/jira_trigger_spec.js b/spec/frontend/integrations/edit/components/sections/jira_trigger_spec.js index d4ab9864fab..b3b7f508e25 100644 --- a/spec/frontend/integrations/edit/components/sections/jira_trigger_spec.js +++ b/spec/frontend/integrations/edit/components/sections/jira_trigger_spec.js @@ -18,10 +18,6 @@ describe('IntegrationSectionJiraTrigger', () => { }); }; - afterEach(() => { - wrapper.destroy(); - }); - const findJiraTriggerFields = () => wrapper.findComponent(JiraTriggerFields); describe('template', () => { diff --git a/spec/frontend/integrations/edit/components/sections/trigger_spec.js b/spec/frontend/integrations/edit/components/sections/trigger_spec.js index 883f5c7bf79..b9c1efbb0a2 100644 --- a/spec/frontend/integrations/edit/components/sections/trigger_spec.js +++ b/spec/frontend/integrations/edit/components/sections/trigger_spec.js @@ -18,10 +18,6 @@ describe('IntegrationSectionTrigger', () => { }); }; - afterEach(() => { - wrapper.destroy(); - }); - const findAllTriggerFields = () => wrapper.findAllComponents(TriggerField); describe('template', () => { diff --git a/spec/frontend/integrations/edit/components/trigger_field_spec.js b/spec/frontend/integrations/edit/components/trigger_field_spec.js index ed0b3324708..3b736b33a2f 100644 --- a/spec/frontend/integrations/edit/components/trigger_field_spec.js +++ b/spec/frontend/integrations/edit/components/trigger_field_spec.js @@ -23,10 +23,6 @@ describe('TriggerField', () => { }); }; - afterEach(() => { - wrapper.destroy(); - }); - const findGlFormCheckbox = () => wrapper.findComponent(GlFormCheckbox); const findGlFormInput = () => wrapper.findComponent(GlFormInput); const findHiddenInput = () => wrapper.find('input[type="hidden"]'); diff --git a/spec/frontend/integrations/edit/components/trigger_fields_spec.js b/spec/frontend/integrations/edit/components/trigger_fields_spec.js index 082eeea30f1..defa02aefd2 100644 --- a/spec/frontend/integrations/edit/components/trigger_fields_spec.js +++ b/spec/frontend/integrations/edit/components/trigger_fields_spec.js @@ -20,10 +20,6 @@ describe('TriggerFields', () => { }); }; - afterEach(() => { - wrapper.destroy(); - }); - const findTriggerLabel = () => wrapper.findByTestId('trigger-fields-group').find('label'); const findAllGlFormGroups = () => wrapper.find('#trigger-fields').findAllComponents(GlFormGroup); const findAllGlFormCheckboxes = () => wrapper.findAllComponents(GlFormCheckbox); diff --git a/spec/frontend/integrations/index/components/integrations_list_spec.js b/spec/frontend/integrations/index/components/integrations_list_spec.js index ee54a5fd359..155a3d1c6be 100644 --- a/spec/frontend/integrations/index/components/integrations_list_spec.js +++ b/spec/frontend/integrations/index/components/integrations_list_spec.js @@ -13,10 +13,6 @@ describe('IntegrationsList', () => { wrapper = shallowMountExtended(IntegrationsList, { propsData }); }; - afterEach(() => { - wrapper.destroy(); - }); - it('provides correct `integrations` prop to the IntegrationsTable instance', () => { createComponent({ integrations: [...mockInactiveIntegrations, ...mockActiveIntegrations] }); diff --git a/spec/frontend/integrations/index/components/integrations_table_spec.js b/spec/frontend/integrations/index/components/integrations_table_spec.js index bfe0a5987b4..5456a23a98d 100644 --- a/spec/frontend/integrations/index/components/integrations_table_spec.js +++ b/spec/frontend/integrations/index/components/integrations_table_spec.js @@ -19,10 +19,6 @@ describe('IntegrationsTable', () => { }); }; - afterEach(() => { - wrapper.destroy(); - }); - describe.each([true, false])('when `showUpdatedAt` is %p', (showUpdatedAt) => { beforeEach(() => { createComponent({ showUpdatedAt }); diff --git a/spec/frontend/integrations/overrides/components/integration_overrides_spec.js b/spec/frontend/integrations/overrides/components/integration_overrides_spec.js index fdb728281b5..9e863eaecfd 100644 --- a/spec/frontend/integrations/overrides/components/integration_overrides_spec.js +++ b/spec/frontend/integrations/overrides/components/integration_overrides_spec.js @@ -47,7 +47,6 @@ describe('IntegrationOverrides', () => { afterEach(() => { mockAxios.restore(); - wrapper.destroy(); }); const findGlTable = () => wrapper.findComponent(GlTable); diff --git a/spec/frontend/integrations/overrides/components/integration_tabs_spec.js b/spec/frontend/integrations/overrides/components/integration_tabs_spec.js index a728b4d391f..b35a40d69c1 100644 --- a/spec/frontend/integrations/overrides/components/integration_tabs_spec.js +++ b/spec/frontend/integrations/overrides/components/integration_tabs_spec.js @@ -21,10 +21,6 @@ describe('IntegrationTabs', () => { }); }; - afterEach(() => { - wrapper.destroy(); - }); - const findGlBadge = () => wrapper.findComponent(GlBadge); const findGlTab = () => wrapper.findComponent(GlTab); const findSettingsLink = () => wrapper.find('a'); |