diff --git a/app/resources/js/components/layout/AppSidebar.vue b/app/resources/js/components/layout/AppSidebar.vue index 398ec0c3..b0f09455 100644 --- a/app/resources/js/components/layout/AppSidebar.vue +++ b/app/resources/js/components/layout/AppSidebar.vue @@ -35,6 +35,7 @@ const navGroups = computed(() => [ { title: 'Сделки', icon: 'mdi-format-list-bulleted', to: '/deals', count: 247 }, { title: 'Канбан', icon: 'mdi-view-column-outline', to: '/kanban' }, { title: 'Дашборд', icon: 'mdi-view-dashboard-outline', to: '/dashboard' }, + { title: 'Напоминания', icon: 'mdi-bell-outline', to: '/reminders' }, ], }, { diff --git a/app/tests/Frontend/AppSidebarRedesign.spec.ts b/app/tests/Frontend/AppSidebarRedesign.spec.ts index 7a7622c5..407598dc 100644 --- a/app/tests/Frontend/AppSidebarRedesign.spec.ts +++ b/app/tests/Frontend/AppSidebarRedesign.spec.ts @@ -62,4 +62,12 @@ describe('AppSidebar — redesigned shell', () => { const active = items.find((el) => el.classes().includes('ld-nav-item--active')); expect(active).toBeDefined(); }); + + it('содержит пункт «Напоминания» со ссылкой /reminders в группе «Работа»', async () => { + const { wrapper } = await setup(); + const items = wrapper.findAll('a.ld-nav-item'); + const reminders = items.find((a) => a.text().includes('Напоминания')); + expect(reminders).toBeDefined(); + expect(reminders!.attributes('href')).toBe('/reminders'); + }); });