From 9ebfef6a3cf7184161c454c7667d151396e89137 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 4 Nov 2020 15:08:41 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- .../components/error_tracking_list_spec.js | 28 +++++++++------------- 1 file changed, 11 insertions(+), 17 deletions(-) (limited to 'spec/frontend/error_tracking') 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, }, }); }); -- cgit v1.2.1