Upgrade Cypress from 9 to 13 for FTRepo - #2000
Merged
Merged
Conversation
Signed-off-by: yyfamazon <yyf@amazon.com>
Signed-off-by: yyfamazon <yyf@amazon.com>
yyfamazon
requested review from
CCongWang,
Hailong-am,
Maosaic,
SuZhou-Joe,
abbyhu2000,
ananzh,
ashwin-pc,
kavilla,
ohltyler,
peterzhuamazon,
prudhvigodithi,
ruanyl,
wanglam,
xluo-aws,
yubonluo,
yujin-emma and
zhongnansu
as code owners
May 5, 2026 00:23
1 task
| path: parsed.pathname + parsed.search, | ||
| method, | ||
| headers, | ||
| rejectUnauthorized: false, |
Member
wanglam
approved these changes
May 6, 2026
Member
|
Thanks @yyfamazon , merging this based on @wanglam approval. Thanks! |
peterzhuamazon
merged commit May 6, 2026
8954788
into
opensearch-project:main
66 of 76 checks passed
This was referenced May 7, 2026
cwperks
added a commit
to cwperks/opensearch-dashboards-functional-test
that referenced
this pull request
May 7, 2026
1. Remove invalid bare cy.intercept() calls: The Cypress 13 upgrade (PR opensearch-project#2000) replaced cy.server() with cy.intercept() (no arguments). In Cypress 13, cy.intercept() requires at least a URL pattern or RouteMatcher - calling it with no arguments throws an error. These bare calls served no purpose and are simply removed. 2. Add .json to webpack resolve extensions: The webpack preprocessor config was missing .json in its resolve.extensions array, causing module-not-found errors for fixture imports that omit the .json extension. Signed-off-by: Craig Perkins <cwperx@amazon.com>
SuZhou-Joe
pushed a commit
that referenced
this pull request
May 8, 2026
* Fix Cypress 13 compatibility issues in security tests 1. Remove invalid bare cy.intercept() calls: The Cypress 13 upgrade (PR #2000) replaced cy.server() with cy.intercept() (no arguments). In Cypress 13, cy.intercept() requires at least a URL pattern or RouteMatcher - calling it with no arguments throws an error. These bare calls served no purpose and are simply removed. 2. Add .json to webpack resolve extensions: The webpack preprocessor config was missing .json in its resolve.extensions array, causing module-not-found errors for fixture imports that omit the .json extension. Signed-off-by: Craig Perkins <cwperx@amazon.com> * Fix security Cypress 13 test stability Signed-off-by: Craig Perkins <craig5008@gmail.com> --------- Signed-off-by: Craig Perkins <cwperx@amazon.com> Signed-off-by: Craig Perkins <craig5008@gmail.com> Co-authored-by: Hailong Cui <ihailong@amazon.com>
This was referenced May 25, 2026
1 task
angle943
added a commit
to angle943/opensearch-dashboards-functional-test
that referenced
this pull request
Jun 8, 2026
…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>
1 task
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
Upgrade Cypress from 9 to 13 for FTRepo
baseline: #1895
I compare the ci test with baseline, and fix all tests that passed in baseline in this pr.
Issues Resolved
#1996
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.