diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-04 15:08:41 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-04 15:08:41 +0000 |
commit | 9ebfef6a3cf7184161c454c7667d151396e89137 (patch) | |
tree | a00337f95d0662c5d4433917ee04172ae82cc2de /spec/frontend/error_tracking | |
parent | 8a9cbfa9c56792d8e338c289eb803fb0ebde2083 (diff) | |
download | gitlab-ce-9ebfef6a3cf7184161c454c7667d151396e89137.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/error_tracking')
-rw-r--r-- | spec/frontend/error_tracking/components/error_tracking_list_spec.js | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/spec/frontend/error_tracking/components/error_tracking_list_spec.js b/spec/frontend/error_tracking/components/error_tracking_list_spec.js index 31f355ce6f1..a77bf39cb54 100644 --- a/spec/frontend/error_tracking/components/error_tracking_list_spec.js +++ b/spec/frontend/error_tracking/components/error_tracking_list_spec.js @@ -1,12 +1,6 @@ import { createLocalVue, mount } from '@vue/test-utils'; import Vuex from 'vuex'; -import { - GlEmptyState, - GlLoadingIcon, - GlFormInput, - GlPagination, - GlDeprecatedDropdown, -} from '@gitlab/ui'; +import { GlEmptyState, GlLoadingIcon, GlFormInput, GlPagination, GlDropdown } from '@gitlab/ui'; import stubChildren from 'helpers/stub_children'; import ErrorTrackingList from '~/error_tracking/components/error_tracking_list.vue'; import ErrorTrackingActions from '~/error_tracking/components/error_tracking_actions.vue'; @@ -24,19 +18,19 @@ describe('ErrorTrackingList', () => { const findErrorListTable = () => wrapper.find('table'); const findErrorListRows = () => wrapper.findAll('tbody tr'); - const dropdownsArray = () => wrapper.findAll(GlDeprecatedDropdown); + const dropdownsArray = () => wrapper.findAll(GlDropdown); const findRecentSearchesDropdown = () => dropdownsArray() .at(0) - .find(GlDeprecatedDropdown); + .find(GlDropdown); const findStatusFilterDropdown = () => dropdownsArray() .at(1) - .find(GlDeprecatedDropdown); + .find(GlDropdown); const findSortDropdown = () => dropdownsArray() .at(2) - .find(GlDeprecatedDropdown); + .find(GlDropdown); const findLoadingIcon = () => wrapper.find(GlLoadingIcon); const findPagination = () => wrapper.find(GlPagination); const findErrorActions = () => wrapper.find(ErrorTrackingActions); @@ -134,8 +128,8 @@ describe('ErrorTrackingList', () => { mountComponent({ stubs: { GlTable: false, - GlDeprecatedDropdown: false, - GlDeprecatedDropdownItem: false, + GlDropdown: false, + GlDropdownItem: false, GlLink: false, }, }); @@ -205,8 +199,8 @@ describe('ErrorTrackingList', () => { mountComponent({ stubs: { GlTable: false, - GlDeprecatedDropdown: false, - GlDeprecatedDropdownItem: false, + GlDropdown: false, + GlDropdownItem: false, }, }); }); @@ -325,8 +319,8 @@ describe('ErrorTrackingList', () => { beforeEach(() => { mountComponent({ stubs: { - GlDeprecatedDropdown: false, - GlDeprecatedDropdownItem: false, + GlDropdown: false, + GlDropdownItem: false, }, }); }); |