Skip to content

Updated package structure and configs for cypress 12.17.4 version bump.#1386

Merged
AWSHurneyt merged 1 commit intoopensearch-project:2.19from
AWSHurneyt:2.19-cypress-config-update
Mar 10, 2026
Merged

Updated package structure and configs for cypress 12.17.4 version bump.#1386
AWSHurneyt merged 1 commit intoopensearch-project:2.19from
AWSHurneyt:2.19-cypress-config-update

Conversation

@AWSHurneyt
Copy link
Collaborator

Description

Our frontend plugins use cypress to run integration tests. Our plugins inherit that dependency from OSD core.

OSD core bumped the version of cypress on the 2.19 branch to 12.17.4. Cypress v10+ requires changes to the requirements for package setup (e.g., directory structure for tests and test assets, config files, etc.).
https://github.com/opensearch-project/OpenSearch-Dashboards/blob/2.19/package.json#L406

The frontend plugins' 2.19 branches will need some infrastructure changes to support this new cypress version. Until these changes are made, the cypress test workflows will fail in PRs to those 2.19 branches with the following error.

Cypress version 10.0.0 no longer supports cypress.json.

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.

@AWSHurneyt AWSHurneyt force-pushed the 2.19-cypress-config-update branch 2 times, most recently from 3c9bc7e to 8b55339 Compare March 6, 2026 06:22
Signed-off-by: Thomas Hurney <hurneyt@amazon.com>
@AWSHurneyt AWSHurneyt force-pushed the 2.19-cypress-config-update branch from aaf646a to cf8fdaf Compare March 7, 2026 01:59
@AWSHurneyt AWSHurneyt marked this pull request as ready for review March 7, 2026 23:45
@AWSHurneyt
Copy link
Collaborator Author

Regarding the failing WhiteSource Security Check workflow, this PR is intended to fix the cypress configs so that the plugin's integration tests can run.

Any CVEs will be fixed in separate PRs.

@AWSHurneyt AWSHurneyt merged commit aafe0f4 into opensearch-project:2.19 Mar 10, 2026
7 of 8 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.

3 participants