From: antoine.vinot Date: Mon, 18 Dec 2023 13:03:54 +0000 (+0100) Subject: SONAR-21227 Add link to download Deprecation Logs X-Git-Tag: 10.4.0.87286~306 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=43822d2343f52699053c4a0a81556abff36274a1;p=sonarqube.git SONAR-21227 Add link to download Deprecation Logs --- diff --git a/server/sonar-web/src/main/js/apps/system/components/PageActions.tsx b/server/sonar-web/src/main/js/apps/system/components/PageActions.tsx index 07d9d6b0ccd..cc83ee65d08 100644 --- a/server/sonar-web/src/main/js/apps/system/components/PageActions.tsx +++ b/server/sonar-web/src/main/js/apps/system/components/PageActions.tsx @@ -89,7 +89,7 @@ export default class PageActions extends React.PureComponent {
  • {
  • {
  • {
  • {
  • { Access Logs
  • +
  • + + Deprecation Logs + +
  • } > diff --git a/server/sonar-web/src/main/js/apps/system/components/__tests__/SystemApp-it.tsx b/server/sonar-web/src/main/js/apps/system/components/__tests__/SystemApp-it.tsx index 5954e26fe54..fa490d5a79b 100644 --- a/server/sonar-web/src/main/js/apps/system/components/__tests__/SystemApp-it.tsx +++ b/server/sonar-web/src/main/js/apps/system/components/__tests__/SystemApp-it.tsx @@ -69,11 +69,16 @@ describe('System Info Standalone', () => { expect(await ui.pageHeading.find()).toBeInTheDocument(); await user.click(ui.downloadLogsButton.get()); - ['Main Process', 'Compute Engine', 'Search Engine', 'Web Server', 'Access Logs'].forEach( - (link) => { - expect(screen.getByRole('link', { name: link })).toBeInTheDocument(); - }, - ); + [ + 'Main Process', + 'Compute Engine', + 'Search Engine', + 'Web Server', + 'Access Logs', + 'Deprecation Logs', + ].forEach((link) => { + expect(screen.getByRole('link', { name: link })).toBeInTheDocument(); + }); expect(ui.downloadSystemInfoButton.get()).toBeInTheDocument(); }); });