Skip flaky searchOnPageLoad test in discover.spec.js - #2058
Merged
gaiksaya merged 2 commits intoJun 8, 2026
Merged
Conversation
angle943
requested review from
CCongWang,
Hailong-am,
Maosaic,
SuZhou-Joe,
abbyhu2000,
ananzh,
ashwin-pc,
kavilla,
ohltyler,
peterzhuamazon,
prudhvigodithi,
ruanyl,
sejli,
wanglam,
xluo-aws,
yubonluo,
yujin-emma and
zhongnansu
as code owners
June 8, 2026 18:17
…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
force-pushed
the
fix/skip-flaky-searchOnPageLoad-test
branch
from
June 8, 2026 19:43
8a9008f to
e557f43
Compare
gaiksaya
approved these changes
Jun 8, 2026
1 task
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Skip the flaky
should not fetch data from OpenSearch initially when discover:searchOnPageLoad is truetest indiscover.spec.jsto unblock the 3.7.0 release.This test has been consistently failing in CI after the Cypress 9→13 upgrade (PR #2000). The
discover:searchOnPageLoadsetting change does not reliably propagate before the page renders under Cypress 13's new session/navigation handling, causing a 60s timeout waiting fordocTable.Issues Resolved
Unblocks 3.7.0 release - OSD core ci-group-6 nosec failure.
Check List
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.