Skip to content

Requery visualization context menu button - #2051

Merged
gaiksaya merged 6 commits into
opensearch-project:3.7from
jackiehanyang:fix/3.7-requery-vis-context-menu
Jun 5, 2026
Merged

Requery visualization context menu button#2051
gaiksaya merged 6 commits into
opensearch-project:3.7from
jackiehanyang:fix/3.7-requery-vis-context-menu

Conversation

@jackiehanyang

@jackiehanyang jackiehanyang commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Description

This follow-up targets the Jenkins failure in view_anomaly_events_spec.js.

The Jenkins result XML showed the detached DOM error at cypress/utils/dashboards/vis-augmenter/commands.js:15, inside openVisContextMenu(). The previous fix re-queried menu items after opening the context menu, but openVisContextMenu() still chained cy.wrap(panel).find(...).click(), which can detach before the click in the Jenkins environment.

This change re-queries the context menu button from the document using the visualization panel title before clicking, avoiding the stale subject chain that Jenkins reported.

Issues Resolved

[List any issues this PR will resolve]

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.

Signed-off-by: Jackie Han <hnyng@amazon.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>
@gaiksaya
gaiksaya merged commit 31af5e3 into opensearch-project:3.7 Jun 5, 2026
75 of 81 checks passed
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.

2 participants