Repository navigation
test(cypress): support Cypress 16 - #10114
Conversation
Overall package sizeSelf size: 8.68 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.4.0 | 127.33 kB | 447.04 kB | | opentracing | 0.14.7 | 194.81 kB | 194.81 kB | | dc-polyfill | 0.1.11 | 25.74 kB | 25.74 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
There was a problem hiding this comment.
More details
The configuration and support helpers use the same version split. They keep public test values available in Cypress 16 and older versions.
🤖 Datadog Autotest · Commit a19acff · What is Autotest? · @DataDog review to ask questions · Any feedback? Reach out in #autotest
BenchmarksBenchmark execution time: 2026-09-02 09:47:53 Comparing candidate commit a19acff in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 2292 metrics, 18 unstable metrics.
|
🎉 All green!🧪 All tests passed 🎯 Code Coverage (details) 🔗 Commit SHA: a19acff | Docs | View more details | Give us feedback! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #10114 +/- ##
==========================================
- Coverage 98.62% 98.62% -0.01%
==========================================
Files 996 998 +2
Lines 152130 153270 +1140
Branches 13173 12871 -302
==========================================
+ Hits 150043 151157 +1114
- Misses 2087 2113 +26 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
What does this PR do?
Cypress.expose()for public test values on Cypress 16 while retainingCypress.env()for older versions.Motivation
Cypress 16 removed
Cypress.env()and its Vite dev server now requires Vite 8. This keeps the integration suite compatible with Cypress 16 without dropping support for Cypress versions below 16 or weakening existing assertions.Additional Notes
Validation:
CYPRESS_VERSION=latest npm run test:integration:cypress(Cypress 16.0.0): 282 passing, 15 pendingCYPRESS_VERSION=14.5.4 npm run test:integration:cypress: 238 passing, 59 pending./node_modules/.bin/mocha integration-tests/cypress/dependencies.spec.js packages/dd-trace/test/plugins/versions.spec.js: 30 passinggit diff --check