Skip to content

Skip flaky searchOnPageLoad test in discover.spec.js - #2058

Merged
gaiksaya merged 2 commits into
opensearch-project:3.7from
angle943:fix/skip-flaky-searchOnPageLoad-test
Jun 8, 2026
Merged

Skip flaky searchOnPageLoad test in discover.spec.js#2058
gaiksaya merged 2 commits into
opensearch-project:3.7from
angle943:fix/skip-flaky-searchOnPageLoad-test

Conversation

@angle943

@angle943 angle943 commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Description

Skip the flaky should not fetch data from OpenSearch initially when discover:searchOnPageLoad is true test in discover.spec.js to unblock the 3.7.0 release.

This test has been consistently failing in CI after the Cypress 9→13 upgrade (PR #2000). The discover:searchOnPageLoad setting change does not reliably propagate before the page renders under Cypress 13's new session/navigation handling, causing a 60s timeout waiting for docTable.

Issues Resolved

Unblocks 3.7.0 release - OSD core ci-group-6 nosec 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.

…ec.js

The 'usage of discover:searchOnPageLoad' describe block sets
searchOnPageLoad to false, which poisons state for subsequent tests
(refresh interval) in the same file. After the Cypress 9 to 13
upgrade (PR opensearch-project#2000), the setting change does not reliably propagate
and causes cascading failures:

1. searchOnPageLoad test times out waiting for docTable
2. refresh interval test finds no requests logged because
   the page never executed an initial search

Skipping both blocks to unblock 3.7.0 release.

Signed-off-by: Justin Kim <jungkm@amazon.com>
@angle943
angle943 force-pushed the fix/skip-flaky-searchOnPageLoad-test branch from 8a9008f to e557f43 Compare June 8, 2026 19:43
@gaiksaya
gaiksaya merged commit 0099406 into opensearch-project:3.7 Jun 8, 2026
74 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