diff options
Diffstat (limited to 'spec/frontend/work_items/components/shared/work_item_link_child_contents_spec.js')
-rw-r--r-- | spec/frontend/work_items/components/shared/work_item_link_child_contents_spec.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/frontend/work_items/components/shared/work_item_link_child_contents_spec.js b/spec/frontend/work_items/components/shared/work_item_link_child_contents_spec.js index b86f9ff34ae..2e1a7983dec 100644 --- a/spec/frontend/work_items/components/shared/work_item_link_child_contents_spec.js +++ b/spec/frontend/work_items/components/shared/work_item_link_child_contents_spec.js @@ -1,4 +1,4 @@ -import { GlLabel, GlIcon } from '@gitlab/ui'; +import { GlLabel, GlIcon, GlLink } from '@gitlab/ui'; import Vue from 'vue'; import VueApollo from 'vue-apollo'; import { shallowMountExtended } from 'helpers/vue_test_utils_helper'; @@ -33,7 +33,7 @@ describe('WorkItemLinkChildContents', () => { const findStatusIconComponent = () => wrapper.findByTestId('item-status-icon').findComponent(GlIcon); const findConfidentialIconComponent = () => wrapper.findByTestId('confidential-icon'); - const findTitleEl = () => wrapper.findByTestId('item-title'); + const findTitleEl = () => wrapper.findComponent(GlLink); const findStatusTooltipComponent = () => wrapper.findComponent(RichTimestampTooltip); const findMetadataComponent = () => wrapper.findComponent(WorkItemLinkChildMetadata); const findAllLabels = () => wrapper.findAllComponents(GlLabel); @@ -46,7 +46,6 @@ describe('WorkItemLinkChildContents', () => { propsData: { canUpdate, childItem, - childPath: '/gitlab-org/gitlab-test/-/work_items/4', }, }); }; |