Skip to content

Fix alerting dashboards tests failing with security enabled - #2120

Merged
peterzhuamazon merged 1 commit into
opensearch-project:mainfrom
vikhy-aws:main
Jul 28, 2026
Merged

Fix alerting dashboards tests failing with security enabled#2120
peterzhuamazon merged 1 commit into
opensearch-project:mainfrom
vikhy-aws:main

Conversation

@vikhy-aws

Copy link
Copy Markdown
Contributor

Description

Replace 'Select clusters' with 'Select data' as the page-load wait assertion. 'Select clusters' is only rendered when cross-cluster monitoring is enabled AND the user has remote index permissions. In the with-security test config, the test user lacks these permissions, so the CrossClusterConfiguration component never renders.

'Select data' is the DataSource panel title which is always present regardless of security configuration or cross-cluster settings.

Issues Resolved

Resolves opensearch-project/alerting-dashboards-plugin#1492

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Replace 'Select clusters' with 'Select data' as the page-load wait
assertion. 'Select clusters' is only rendered when cross-cluster
monitoring is enabled AND the user has remote index permissions. In
the with-security test config, the test user lacks these permissions,
so the CrossClusterConfiguration component never renders.

'Select data' is the DataSource panel title which is always present
regardless of security configuration or cross-cluster settings.

Resolves opensearch-project/alerting-dashboards-plugin#1492

Signed-off-by: Vikhyat Khare <kvikhy@amazon.com>
Signed-off-by: vikhy-aws <191836418+vikhy-aws@users.noreply.github.com>
@github-actions

github-actions Bot commented Jul 28, 2026

Copy link
Copy Markdown

PR Reviewer Guide 🔍

(Review updated until commit 429cb26)

Here are some key observations to aid the review process:

🧪 PR contains tests
🔒 No security concerns identified
✅ No TODO sections
🔀 No multiple PR themes
⚡ No major issues detected

@github-actions

Copy link
Copy Markdown

Persistent review updated to latest commit 429cb26

@peterzhuamazon
peterzhuamazon merged commit 6279b15 into opensearch-project:main Jul 28, 2026
64 checks passed
peterzhuamazon pushed a commit that referenced this pull request Jul 28, 2026
…2121)

Replace 'Select clusters' with 'Select data' as the page-load wait
assertion. 'Select clusters' is only rendered when cross-cluster
monitoring is enabled AND the user has remote index permissions. In
the with-security test config, the test user lacks these permissions,
so the CrossClusterConfiguration component never renders.

'Select data' is the DataSource panel title which is always present
regardless of security configuration or cross-cluster settings.

Resolves opensearch-project/alerting-dashboards-plugin#1492



(cherry picked from commit 6279b15)

Signed-off-by: Vikhyat Khare <kvikhy@amazon.com>
Signed-off-by: vikhy-aws <191836418+vikhy-aws@users.noreply.github.com>
Signed-off-by: opensearch-ci-bot <opensearch-infra@amazon.com>
Co-authored-by: Sai Vikhyath Kudhroli <191836418+vikhy-aws@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AUTOCUT] Integration Test Failed for alertingDashboards-3.8.0

2 participants