Skip to content

Commit

Permalink
Set dashboards admin for security enabled tests (#1372)
Browse files Browse the repository at this point in the history
* Set dashboards admin for security enabled tests

Signed-off-by: Lin Wang <[email protected]>

* Run tests after workflow change

Signed-off-by: Lin Wang <[email protected]>

---------

Signed-off-by: Lin Wang <[email protected]>
  • Loading branch information
wanglam authored Jun 11, 2024
1 parent 065b6ad commit 993ca04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/workspace-release-e2e-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ jobs:
filters: |
tests:
- 'cypress/**/workspace-plugin/**'
- '.github/workflows/workspace-release-e2e-workflow.yml'
tests-with-security:
needs: changes
if: ${{ needs.changes.outputs.tests == 'true' }}
uses: ./.github/workflows/release-e2e-workflow-template.yml
with:
test-name: dashboards workspace
test-command: env CYPRESS_WORKSPACE_ENABLED=true CYPRESS_SAVED_OBJECTS_PERMISSION_ENABLED=true yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/core-opensearch-dashboards/opensearch-dashboards/workspace-plugin/*'
osd-serve-args: --workspace.enabled=true --savedObjects.permission.enabled=true --opensearch_security.multitenancy.enabled=false
osd-serve-args: --workspace.enabled=true --savedObjects.permission.enabled=true --opensearch_security.multitenancy.enabled=false --opensearchDashboards.dashboardAdmin.users='["admin"]'
tests-without-security:
needs: changes
if: ${{ needs.changes.outputs.tests == 'true' }}
Expand Down

0 comments on commit 993ca04

Please sign in to comment.