diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-17 19:05:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-17 19:05:49 +0300 |
commit | 43a25d93ebdabea52f99b05e15b06250cd8f07d7 (patch) | |
tree | dceebdc68925362117480a5d672bcff122fb625b /spec/frontend/jira_import | |
parent | 20c84b99005abd1c82101dfeff264ac50d2df211 (diff) |
Add latest changes from gitlab-org/gitlab@16-0-stable-eev16.0.0-rc42
Diffstat (limited to 'spec/frontend/jira_import')
5 files changed, 11 insertions, 27 deletions
diff --git a/spec/frontend/jira_import/components/__snapshots__/jira_import_form_spec.js.snap b/spec/frontend/jira_import/components/__snapshots__/jira_import_form_spec.js.snap index 40e627262db..abd849b387e 100644 --- a/spec/frontend/jira_import/components/__snapshots__/jira_import_form_spec.js.snap +++ b/spec/frontend/jira_import/components/__snapshots__/jira_import_form_spec.js.snap @@ -2,7 +2,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] = ` <table - aria-busy="false" + aria-busy="" aria-colcount="3" class="table b-table gl-table b-table-fixed" role="table" @@ -76,7 +76,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] = role="img" > <use - href="#arrow-right" + href="file-mock#arrow-right" /> </svg> </td> @@ -92,7 +92,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] = <!----> <button aria-expanded="false" - aria-haspopup="true" + aria-haspopup="menu" class="btn dropdown-toggle btn-default btn-md gl-button gl-dropdown-toggle" type="button" > @@ -113,7 +113,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] = role="img" > <use - href="#chevron-down" + href="file-mock#chevron-down" /> </svg> </button> @@ -144,7 +144,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] = role="img" > <use - href="#search" + href="file-mock#search" /> </svg> @@ -201,7 +201,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] = role="img" > <use - href="#arrow-right" + href="file-mock#arrow-right" /> </svg> </td> @@ -217,7 +217,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] = <!----> <button aria-expanded="false" - aria-haspopup="true" + aria-haspopup="menu" class="btn dropdown-toggle btn-default btn-md gl-button gl-dropdown-toggle" type="button" > @@ -238,7 +238,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] = role="img" > <use - href="#chevron-down" + href="file-mock#chevron-down" /> </svg> </button> @@ -269,7 +269,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] = role="img" > <use - href="#search" + href="file-mock#search" /> </svg> diff --git a/spec/frontend/jira_import/components/jira_import_app_spec.js b/spec/frontend/jira_import/components/jira_import_app_spec.js index 022a0f81aaa..dc1b75f5d9e 100644 --- a/spec/frontend/jira_import/components/jira_import_app_spec.js +++ b/spec/frontend/jira_import/components/jira_import_app_spec.js @@ -67,11 +67,6 @@ describe('JiraImportApp', () => { }, }); - afterEach(() => { - wrapper.destroy(); - wrapper = null; - }); - describe('when Jira integration is not configured', () => { beforeEach(() => { wrapper = mountComponent({ isJiraConfigured: false }); diff --git a/spec/frontend/jira_import/components/jira_import_form_spec.js b/spec/frontend/jira_import/components/jira_import_form_spec.js index d43a9f8a145..7fd6398aaa4 100644 --- a/spec/frontend/jira_import/components/jira_import_form_spec.js +++ b/spec/frontend/jira_import/components/jira_import_form_spec.js @@ -106,7 +106,6 @@ describe('JiraImportForm', () => { axiosMock.restore(); mutateSpy.mockRestore(); querySpy.mockRestore(); - wrapper.destroy(); }); describe('select dropdown project selection', () => { @@ -305,7 +304,7 @@ describe('JiraImportForm', () => { expect(getContinueButton().text()).toBe('Continue'); }); - it('is in loading state when the form is submitting', async () => { + it('is in loading state when the form is submitting', () => { wrapper = mountComponent({ isSubmitting: true }); expect(getContinueButton().props('loading')).toBe(true); @@ -417,7 +416,7 @@ describe('JiraImportForm', () => { wrapper = mountComponent({ hasMoreUsers: true }); }); - it('calls the GraphQL user mapping mutation', async () => { + it('calls the GraphQL user mapping mutation', () => { const mutationArguments = { mutation: getJiraUserMappingMutation, variables: { diff --git a/spec/frontend/jira_import/components/jira_import_progress_spec.js b/spec/frontend/jira_import/components/jira_import_progress_spec.js index 42356763492..c0d415a2130 100644 --- a/spec/frontend/jira_import/components/jira_import_progress_spec.js +++ b/spec/frontend/jira_import/components/jira_import_progress_spec.js @@ -25,11 +25,6 @@ describe('JiraImportProgress', () => { }); }; - afterEach(() => { - wrapper.destroy(); - wrapper = null; - }); - describe('empty state', () => { beforeEach(() => { wrapper = mountComponent(); diff --git a/spec/frontend/jira_import/components/jira_import_setup_spec.js b/spec/frontend/jira_import/components/jira_import_setup_spec.js index 0085a2b5572..5331467d669 100644 --- a/spec/frontend/jira_import/components/jira_import_setup_spec.js +++ b/spec/frontend/jira_import/components/jira_import_setup_spec.js @@ -17,11 +17,6 @@ describe('JiraImportSetup', () => { }); }); - afterEach(() => { - wrapper.destroy(); - wrapper = null; - }); - it('contains illustration', () => { expect(getGlEmptyStateProp('svgPath')).toBe(illustration); }); |