[test optimization] support TypeScript 6 in browser integration tests#8137
[test optimization] support TypeScript 6 in browser integration tests#8137juan-fernandez wants to merge 2 commits intomasterfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8137 +/- ##
==========================================
+ Coverage 73.19% 73.97% +0.77%
==========================================
Files 784 784
Lines 36369 36391 +22
==========================================
+ Hits 26622 26919 +297
+ Misses 9747 9472 -275 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Overall package sizeSelf size: 5.66 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.0.1 | 82.56 kB | 817.39 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
🎉 All green!❄️ No new flaky tests detected 🎯 Code Coverage (details) 🔗 Commit SHA: 1dcf8b1 | Docs | Datadog PR Page | Give us feedback! |
BenchmarksBenchmark execution time: 2026-04-28 13:39:16 Comparing candidate commit 1dcf8b1 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 1346 metrics, 98 unstable metrics. |
What does this PR do?
Removes the
typescript@5sandbox pins from Cypress and Playwright integration tests so they use the default TypeScript version again.Fixes the TypeScript 6 compatibility issues that required the pins:
.cy.tssource-line tests write a spec-local TypeScript config for Cypress' webpack preprocessor, with TS 6 deprecation handling gated by the installed TypeScript version.Motivation
PR #7932 bumped the default TypeScript test dependency to 6.x, but Cypress and Playwright integration tests were pinned to TypeScript 5 because TS 6 changed emitted output and type/config behavior. This removes that temporary workaround and keeps the tests exercising the default sandbox dependency.