Skip to content

[Backport 3.8] Fix alerting dashboards multi-index update tests failing without security - #2126

Merged
peterzhuamazon merged 1 commit into
opensearch-project:3.8from
opensearch-ci-bot:backport/backport-2125-to-3.8
Jul 30, 2026
Merged

[Backport 3.8] Fix alerting dashboards multi-index update tests failing without security#2126
peterzhuamazon merged 1 commit into
opensearch-project:3.8from
opensearch-ci-bot:backport/backport-2125-to-3.8

Conversation

@opensearch-ci-bot

Copy link
Copy Markdown
Contributor

Backport 46edba2 from #2125.

…rity (opensearch-project#2125)

Break the Cypress command chain between .type() and .trigger('blur') in
the "to have multiple indices" tests. Typing {enter} into the index
combo box triggers a React re-render that detaches the input element,
causing the chained .trigger('blur') to fail with a stale DOM reference.

Re-querying the element with cy.get('#index') after the type command
ensures Cypress operates on the newly-rendered input.

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

Signed-off-by: Vikhyat Khare <kvikhy@amazon.com>
(cherry picked from commit 46edba2)
Signed-off-by: opensearch-ci-bot <opensearch-infra@amazon.com>
@peterzhuamazon
peterzhuamazon merged commit 95278df into opensearch-project:3.8 Jul 30, 2026
51 of 60 checks passed
@opensearch-ci-bot
opensearch-ci-bot deleted the backport/backport-2125-to-3.8 branch July 30, 2026 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants