diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-20 17:22:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-20 17:22:11 +0300 |
commit | 0c872e02b2c822e3397515ec324051ff540f0cd5 (patch) | |
tree | ce2fb6ce7030e4dad0f4118d21ab6453e5938cdd /spec/frontend/boards/components/board_content_sidebar_spec.js | |
parent | f7e05a6853b12f02911494c4b3fe53d9540d74fc (diff) |
Add latest changes from gitlab-org/gitlab@15-7-stable-eev15.7.0-rc42
Diffstat (limited to 'spec/frontend/boards/components/board_content_sidebar_spec.js')
-rw-r--r-- | spec/frontend/boards/components/board_content_sidebar_spec.js | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/spec/frontend/boards/components/board_content_sidebar_spec.js b/spec/frontend/boards/components/board_content_sidebar_spec.js index 7e35c39cd48..0d5b1d16e30 100644 --- a/spec/frontend/boards/components/board_content_sidebar_spec.js +++ b/spec/frontend/boards/components/board_content_sidebar_spec.js @@ -12,7 +12,7 @@ import SidebarDateWidget from '~/sidebar/components/date/sidebar_date_widget.vue import SidebarSeverity from '~/sidebar/components/severity/sidebar_severity.vue'; import SidebarSubscriptionsWidget from '~/sidebar/components/subscriptions/sidebar_subscriptions_widget.vue'; import SidebarTodoWidget from '~/sidebar/components/todo_toggle/sidebar_todo_widget.vue'; -import SidebarLabelsWidget from '~/vue_shared/components/sidebar/labels_select_widget/labels_select_root.vue'; +import SidebarLabelsWidget from '~/sidebar/components/labels/labels_select_widget/labels_select_root.vue'; import { mockActiveIssue, mockIssue, mockIssueGroupPath, mockIssueProjectPath } from '../mock_data'; Vue.use(Vuex); @@ -146,6 +146,20 @@ describe('BoardContentSidebar', () => { expect(wrapper.findComponent(SidebarSeverity).exists()).toBe(false); }); + it('does not render SidebarHealthStatusWidget', async () => { + const SidebarHealthStatusWidget = ( + await import('ee_component/sidebar/components/health_status/sidebar_health_status_widget.vue') + ).default; + expect(wrapper.findComponent(SidebarHealthStatusWidget).exists()).toBe(false); + }); + + it('does not render SidebarWeightWidget', async () => { + const SidebarWeightWidget = ( + await import('ee_component/sidebar/components/weight/sidebar_weight_widget.vue') + ).default; + expect(wrapper.findComponent(SidebarWeightWidget).exists()).toBe(false); + }); + describe('when we emit close', () => { let toggleBoardItem; |