diff options
author | stanislavh <stanislav.honcharov@sonarsource.com> | 2023-03-07 12:17:26 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-03-09 20:02:59 +0000 |
commit | 6cb635e9dd388776309f11543c648e88632f06f6 (patch) | |
tree | 31b183dbfaff5959ebffb3c1ca0e01110aa790af /server/sonar-web | |
parent | f314d64d267231885041484812676b531f4ee40b (diff) | |
download | sonarqube-6cb635e9dd388776309f11543c648e88632f06f6.tar.gz sonarqube-6cb635e9dd388776309f11543c648e88632f06f6.zip |
SONAR-18675 Drop UI selenium tests for settings page
Diffstat (limited to 'server/sonar-web')
-rw-r--r-- | server/sonar-web/src/main/js/apps/settings/components/__tests__/SettingsApp-it.tsx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/settings/components/__tests__/SettingsApp-it.tsx b/server/sonar-web/src/main/js/apps/settings/components/__tests__/SettingsApp-it.tsx index c4a7d2582f7..aba19dae895 100644 --- a/server/sonar-web/src/main/js/apps/settings/components/__tests__/SettingsApp-it.tsx +++ b/server/sonar-web/src/main/js/apps/settings/components/__tests__/SettingsApp-it.tsx @@ -88,6 +88,11 @@ describe('Global Settings', () => { expect(ui.categoryLink(name).get()).toBeInTheDocument(); }); + // Visible only for project + expect( + ui.categoryLink('settings.pr_decoration.binding.category').query() + ).not.toBeInTheDocument(); + expect(await ui.announcementHeading.find()).toBeInTheDocument(); // Navigating to Languages category @@ -168,6 +173,9 @@ describe('Project Settings', () => { expect(ui.categoryLink(name).get()).toBeInTheDocument(); }); + // Visible only for global settings + expect(ui.categoryLink('property.category.almintegration').query()).not.toBeInTheDocument(); + expect(await ui.announcementHeading.find()).toBeInTheDocument(); // Navigating to Languages category |