-
Notifications
You must be signed in to change notification settings - Fork 3.4k
misc: convert @cypress/webpack-batteries-included-preprocessor tests to vitest
#32904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
f7c3d4a to
3aa2572
Compare
cypress
|
||||||||||||||||||||||||||||||||||||||||
| Project |
cypress
|
| Branch Review |
chore/wbip-vitest
|
| Run status |
|
| Run duration | 19m 08s |
| Commit |
|
| Committer | Bill Glesias |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
12
|
|
|
1098
|
|
|
4
|
|
|
26530
|
| View all changes introduced in this branch ↗︎ | |
Warning
Partial Report: The results for the Application Quality reports may be incomplete.
UI Coverage
45.61%
|
|
|---|---|
|
|
187
|
|
|
161
|
Accessibility
97.98%
|
|
|---|---|
|
|
4 critical
8 serious
2 moderate
2 minor
|
|
|
101
|
|
@AtofStryker I think there's a legitimate failure due to this in our published artifacts. I may have reviewed this too early - sorry if so. |
@jennifer-shehane no worries its related to the binary-cleanup. I'll fix it and push it up |
3e64941 to
f629661
Compare
f629661 to
2989fb1
Compare
3ab545f to
db0d256
Compare
2989fb1 to
c5e97ee
Compare
c5e97ee to
7a5b02c
Compare
|
this is going to fail semantic pull request because I edited the web-config package. This is expected and I am going to have to ignore the changelog valication until after next release |
Additional details
Converts the tests in WBIP to use Vitest and TypeScript. to prevent collisions between the source and compiled files under test, I moved the compiled files to a dist directory and updated the main entry
Steps to test
How has the user experience changed?
PR Tasks
cypress-documentation?type definitions?Note
Migrates @cypress/webpack-batteries-included-preprocessor to Vitest/TypeScript tests and dist-based output, updating configs and internal references.
vitest; convert unit/e2e tests to TypeScript; addvitest.config.ts.dist/index.jsand types todist/index.d.ts; settsconfig.jsonoutDirtodist; update tests to import fromdist.vitest; addtest-debug; addvitestdev dep; remove legacy test deps; refine ESLint config (remove ignored entry files, settsconfigRootDir).npm/@cypress/webpack-batteries-included-preprocessor/dist/index.jsinscripts/binary/binary-cleanup.jsand comment inpackages/web-config/webpack.config.base.ts.npm/webpack-batteries-included-preprocessoras ✅ completed inguides/esm-migration.md.Written by Cursor Bugbot for commit 7a5b02c. This will update automatically on new commits. Configure here.