aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorViktor Vorona <viktor.vorona@sonarsource.com>2024-11-21 11:23:15 +0100
committersonartech <sonartech@sonarsource.com>2024-11-26 20:02:50 +0000
commit49432ece9dceba4ad844f642afda2f365fe26339 (patch)
tree6e843ae7acd2ac1fd41cedba7fa36d764395e7b0 /server
parente7cfc7f04f41fa7dde069844cc80d710913cb63e (diff)
downloadsonarqube-49432ece9dceba4ad844f642afda2f365fe26339.tar.gz
sonarqube-49432ece9dceba4ad844f642afda2f365fe26339.zip
SONAR-23649 Support new notification in my account
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/js/apps/account/__tests__/Account-it.tsx3
-rw-r--r--server/sonar-web/src/main/js/types/notifications.ts1
2 files changed, 4 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 {