Skip to content

Fix filter_editor combo box assertion for Cypress 13 - #2062

Merged
gaiksaya merged 1 commit into
opensearch-project:3.7from
angle943:fix/filter-editor-combobox-text
Jun 8, 2026
Merged

Fix filter_editor combo box assertion for Cypress 13#2062
gaiksaya merged 1 commit into
opensearch-project:3.7from
angle943:fix/filter-editor-combobox-text

Conversation

@angle943

@angle943 angle943 commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Description

Fix filter_editor.spec.js test failure caused by Cypress 13 reading full accessible text from combo box elements.

The test asserts have.text expecting just extension.raw, but Cypress 13 now returns the full accessible text including aria labels:

extension.rawCombo box. Selected. extension.raw. Press Backspace to delete...

Changed to contain.text which correctly matches the visible value within the full text content.

Issues Resolved

Unblocks 3.7.0 release - ci-group-8 nosec filter_editor failure.

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.

Cypress 13 reads the full accessible text of combo box elements
(including aria labels and screen reader text) rather than just
the visible value. Change 'have.text' to 'contain.text' so the
assertion matches the visible value within the full text content.

Signed-off-by: Justin Kim <jungkm@amazon.com>
@gaiksaya
gaiksaya merged commit 8134a73 into opensearch-project:3.7 Jun 8, 2026
76 of 81 checks passed
peterzhuamazon added a commit that referenced this pull request Jun 9, 2026
* Skip flaky searchOnPageLoad test in discover.spec.js (#2058)

Signed-off-by: Justin Kim <jungkm@amazon.com>

* Fix filter_editor combo box assertion for Cypress 13 (#2062)

Signed-off-by: Justin Kim <jungkm@amazon.com>

* [3.7] Update windows and linux to have different llm js startup/stop scripts (#2063)

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Make sure libssl curl is used to handle pem (#2064)

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

---------

Signed-off-by: Justin Kim <jungkm@amazon.com>
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
Co-authored-by: Justin Kim <jungkm@amazon.com>
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