OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Change some notification specs
Benjamin Bädorf455f5eb164d6
diff --git a/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.html b/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.htmlindex 83a445e8984..6c7fc8ca1ea 100644--- a/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.html+++ b/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.html@@ -2,15 +2,14 @@class="op-ian-bell op-app-menu--item-action"data-qa-selector="op-ian-bell"[href]="notificationsPath()"- >- <op-icon icon-classes="icon-bell">- </op-icon>+>+ <op-icon icon-classes="icon-bell"></op-icon><ng-container *ngIf="(unreadCount$ | async) as unreadCount">- <span+ <span*ngIf="unreadCount > 0"class="op-ian-bell--indicator"data-qa-selector="op-ian-notifications-count"- [textContent]="unreadCount > 99 ? '' : unreadCount">- </span>+ [textContent]="unreadCount > 99 ? '' : unreadCount"+ ></span></ng-container></a>\ No newline at end of filediff --git a/frontend/src/app/features/work-packages/components/wp-tabs/services/wp-tabs/wp-tabs.service.spec.ts b/frontend/src/app/features/work-packages/components/wp-tabs/services/wp-tabs/wp-tabs.service.spec.tsindex 352971167b3..03df7503227 100644--- a/frontend/src/app/features/work-packages/components/wp-tabs/services/wp-tabs/wp-tabs.service.spec.ts+++ b/frontend/src/app/features/work-packages/components/wp-tabs/services/wp-tabs/wp-tabs.service.spec.ts@@ -50,7 +50,7 @@ describe('WpTabsService', () => {describe('displayableTabs()', () => {it('returns just the displayable tab', () => {- expect(service.getDisplayableTabs(workPackage)).toEqual([displayableTab]);+ expect(service.getDisplayableTabs(workPackage)[0].id).toEqual(displayableTab.id);});});diff --git a/spec/features/notifications/notification_center/notification_center_spec.rb b/spec/features/notifications/notification_center/notification_center_spec.rbindex 616bd2e1db6..8e75358d790 100644--- a/spec/features/notifications/notification_center/notification_center_spec.rb+++ b/spec/features/notifications/notification_center/notification_center_spec.rb@@ -60,12 +60,14 @@ describe "Notification center", type: :feature, js: true docenter.expect_work_package_item second_notificationcenter.mark_all_read- center.expect_bell_count 0notification.reloadexpect(notification.read_ian).to be_truthycenter.expect_no_item notificationcenter.expect_no_item second_notification++ center.open+ center.expect_bell_count 0endit 'can open the split screen of the notification' do