From f6eda7a7e28ce9ff4f01efe66c32951fc10d9c89 Mon Sep 17 00:00:00 2001 From: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com> Date: Wed, 21 Feb 2024 13:14:04 +0100 Subject: [PATCH] Change order of security in left menu (#36) * Change order of security in left menu * Fix cypress test --- .github/workflows/cypress-test-tenancy-disabled.yml | 2 +- .github/workflows/cypress-test.yml | 2 +- public/plugin.ts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cypress-test-tenancy-disabled.yml b/.github/workflows/cypress-test-tenancy-disabled.yml index 972a138ff..18389e703 100644 --- a/.github/workflows/cypress-test-tenancy-disabled.yml +++ b/.github/workflows/cypress-test-tenancy-disabled.yml @@ -81,7 +81,7 @@ jobs: cd ./OpenSearch-Dashboards nohup yarn start --no-base-path --no-watch & sleep 500 - git clone https://github.com/opensearch-project/opensearch-dashboards-functional-test.git + git clone https://github.com/opensearch-project/opensearch-dashboards-functional-test.git -b ${{ env.OPENSEARCH_VERSION }} cd opensearch-dashboards-functional-test npm install cypress --save-dev yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security/inaccessible_tenancy_features.js" diff --git a/.github/workflows/cypress-test.yml b/.github/workflows/cypress-test.yml index 20d990d87..408cb9962 100644 --- a/.github/workflows/cypress-test.yml +++ b/.github/workflows/cypress-test.yml @@ -83,7 +83,7 @@ jobs: cd ./OpenSearch-Dashboards nohup yarn start --no-base-path --no-watch & sleep 500 - git clone https://github.com/opensearch-project/opensearch-dashboards-functional-test.git + git clone https://github.com/opensearch-project/opensearch-dashboards-functional-test.git -b ${{ env.OPENSEARCH_VERSION }} cd opensearch-dashboards-functional-test npm install cypress --save-dev yarn cypress:run-with-security-and-aggregation-view --browser chrome --spec "cypress/integration/plugins/security-dashboards-plugin/aggregation_view.js" diff --git a/public/plugin.ts b/public/plugin.ts index d5280574f..677120c70 100644 --- a/public/plugin.ts +++ b/public/plugin.ts @@ -157,7 +157,7 @@ export class SecurityPlugin core.application.register({ id: PLUGIN_NAME, title: 'Security', - order: 9050, + order: 9030, workspaceAvailability: WorkspaceAvailability.outsideWorkspace, navLinkStatus: core.chrome.navGroup.getNavGroupEnabled() ? AppNavLinkStatus.hidden @@ -317,7 +317,7 @@ export class SecurityPlugin deps.managementOverview.register({ id: PLUGIN_NAME, title: 'Security', - order: 9050, + order: 9030, description: i18n.translate('security.securityDescription', { defaultMessage: 'Configure how users access data in OpenSearch with authentication, access control and audit logging.',