diff options
3 files changed, 5 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/account/__tests__/Account-it.tsx b/server/sonar-web/src/main/js/apps/account/__tests__/Account-it.tsx index 4d979dfc1b0..c58397fa3ea 100644 --- a/server/sonar-web/src/main/js/apps/account/__tests__/Account-it.tsx +++ b/server/sonar-web/src/main/js/apps/account/__tests__/Account-it.tsx @@ -515,6 +515,9 @@ describe('notifications page', () => { expect(globalUI.checkbox(NotificationGlobalType.CeReportTaskFailure).get()).not.toBeChecked(); expect(globalUI.checkbox(NotificationGlobalType.NewAlerts).get()).not.toBeChecked(); expect(globalUI.checkbox(NotificationGlobalType.MyNewIssues).get()).not.toBeChecked(); + expect( + globalUI.checkbox(NotificationGlobalType.QualityGateConditionsMismatch).get(), + ).not.toBeChecked(); /* * Update notifications diff --git a/server/sonar-web/src/main/js/types/notifications.ts b/server/sonar-web/src/main/js/types/notifications.ts index f2b4be006c1..9e25685f103 100644 --- a/server/sonar-web/src/main/js/types/notifications.ts +++ b/server/sonar-web/src/main/js/types/notifications.ts @@ -23,6 +23,7 @@ export enum NotificationGlobalType { ChangesOnMyIssue = 'ChangesOnMyIssue', NewAlerts = 'NewAlerts', MyNewIssues = 'SQ-MyNewIssues', + QualityGateConditionsMismatch = 'QualityGateConditionsMismatch', } export enum NotificationProjectType { diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties index d36cc894036..de02b9536b6 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -2973,6 +2973,7 @@ notification.dispatcher.NewAlerts=Quality gate changes on all available projects notification.dispatcher.NewAlerts.project=Quality gate changes notification.dispatcher.NewFalsePositiveIssue=Issues resolved as false positive or accepted notification.dispatcher.SQ-MyNewIssues=My new issues +notification.dispatcher.QualityGateConditionsMismatch=Quality gate metrics mismatch with the mode of the instance notification.dispatcher.CeReportTaskFailure=Background tasks in failure on my administered projects notification.dispatcher.CeReportTaskFailure.project=Background tasks in failure notification.dispatcher.description_x=Check to receive notification for {0} |