diff options
author | Robert Speicher <rspeicher@gmail.com> | 2021-01-20 13:34:23 -0600 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2021-01-20 13:34:23 -0600 |
commit | 6438df3a1e0fb944485cebf07976160184697d72 (patch) | |
tree | 00b09bfd170e77ae9391b1a2f5a93ef6839f2597 /spec/frontend/jira_import | |
parent | 42bcd54d971da7ef2854b896a7b34f4ef8601067 (diff) | |
download | gitlab-ce-6438df3a1e0fb944485cebf07976160184697d72.tar.gz |
Add latest changes from gitlab-org/gitlab@13-8-stable-eev13.8.0-rc42
Diffstat (limited to 'spec/frontend/jira_import')
4 files changed, 95 insertions, 75 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 c40b7c90c72..bea27c8877d 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 @@ -114,49 +114,59 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] = role="menu" tabindex="-1" > - <!----> - <div - class="gl-search-box-by-type" + class="gl-new-dropdown-inner" > - <svg - aria-hidden="true" - class="gl-search-box-by-type-search-icon gl-icon s16" - data-testid="search-icon" - > - <use - href="#search" - /> - </svg> - - <input - aria-label="Search" - class="gl-form-input gl-search-box-by-type-input form-control" - placeholder="Search" - type="text" - /> + <!----> <div - class="gl-search-box-by-type-right-icons" - > - <!----> - - <!----> - </div> - </div> - - <li - class="gl-new-dropdown-text text-secondary" - role="presentation" - > - <p - class="b-dropdown-text" + class="gl-new-dropdown-contents" > - + <div + class="gl-search-box-by-type" + > + <svg + aria-hidden="true" + class="gl-search-box-by-type-search-icon gl-icon s16" + data-testid="search-icon" + > + <use + href="#search" + /> + </svg> + + <input + aria-label="Search" + class="gl-form-input gl-search-box-by-type-input form-control" + placeholder="Search" + type="text" + /> + + <div + class="gl-search-box-by-type-right-icons" + > + <!----> + + <!----> + </div> + </div> + + <li + class="gl-new-dropdown-text text-secondary" + role="presentation" + > + <p + class="b-dropdown-text" + > + No matches found - </p> - </li> + </p> + </li> + </div> + + <!----> + </div> </ul> </div> @@ -229,49 +239,59 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] = role="menu" tabindex="-1" > - <!----> - <div - class="gl-search-box-by-type" + class="gl-new-dropdown-inner" > - <svg - aria-hidden="true" - class="gl-search-box-by-type-search-icon gl-icon s16" - data-testid="search-icon" - > - <use - href="#search" - /> - </svg> - - <input - aria-label="Search" - class="gl-form-input gl-search-box-by-type-input form-control" - placeholder="Search" - type="text" - /> + <!----> <div - class="gl-search-box-by-type-right-icons" - > - <!----> - - <!----> - </div> - </div> - - <li - class="gl-new-dropdown-text text-secondary" - role="presentation" - > - <p - class="b-dropdown-text" + class="gl-new-dropdown-contents" > - + <div + class="gl-search-box-by-type" + > + <svg + aria-hidden="true" + class="gl-search-box-by-type-search-icon gl-icon s16" + data-testid="search-icon" + > + <use + href="#search" + /> + </svg> + + <input + aria-label="Search" + class="gl-form-input gl-search-box-by-type-input form-control" + placeholder="Search" + type="text" + /> + + <div + class="gl-search-box-by-type-right-icons" + > + <!----> + + <!----> + </div> + </div> + + <li + class="gl-new-dropdown-text text-secondary" + role="presentation" + > + <p + class="b-dropdown-text" + > + No matches found - </p> - </li> + </p> + </li> + </div> + + <!----> + </div> </ul> </div> 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 d184c054b8a..00fb8f5435e 100644 --- a/spec/frontend/jira_import/components/jira_import_form_spec.js +++ b/spec/frontend/jira_import/components/jira_import_form_spec.js @@ -37,7 +37,7 @@ describe('JiraImportForm', () => { const getUserDropdown = () => getTable().find(GlDropdown); - const getHeader = name => getByRole(wrapper.element, 'columnheader', { name }); + const getHeader = (name) => getByRole(wrapper.element, 'columnheader', { name }); const findLoadMoreUsersButton = () => wrapper.find('[data-testid="load-more-users-button"]'); 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 ed7e1824fa3..b56230e94fc 100644 --- a/spec/frontend/jira_import/components/jira_import_progress_spec.js +++ b/spec/frontend/jira_import/components/jira_import_progress_spec.js @@ -8,7 +8,7 @@ describe('JiraImportProgress', () => { const importProject = 'JIRAPROJECT'; - const getGlEmptyStateProp = attribute => wrapper.find(GlEmptyState).props(attribute); + const getGlEmptyStateProp = (attribute) => wrapper.find(GlEmptyState).props(attribute); const getParagraphText = () => wrapper.find('p').text(); 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 7c84d4a166a..320e270b493 100644 --- a/spec/frontend/jira_import/components/jira_import_setup_spec.js +++ b/spec/frontend/jira_import/components/jira_import_setup_spec.js @@ -6,7 +6,7 @@ import { illustration, jiraIntegrationPath } from '../mock_data'; describe('JiraImportSetup', () => { let wrapper; - const getGlEmptyStateProp = attribute => wrapper.find(GlEmptyState).props(attribute); + const getGlEmptyStateProp = (attribute) => wrapper.find(GlEmptyState).props(attribute); beforeEach(() => { wrapper = shallowMount(JiraImportSetup, { |