-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
feat: simplify vite server #15416
feat: simplify vite server #15416
Conversation
Thanks for taking the time to open a PR!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have many questions about this PR, but nice job implementing the hooks!
@@ -58,12 +29,6 @@ | |||
Cypress.onSpecWindow(window, importsToLoad) | |||
Cypress.action('app:window:before:load', window) | |||
|
|||
before(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am sure we need this - please try running a spec with multiple it
blocks that mount a React component. One called react-no-jsx.spec.tsx
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's possible we don't!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests in this spec are passing, both in CI and in open mode.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually scratch that, they only work on open, not in CI...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bizarre
Better fix that before merging, can help out if needed
43aa4b9
to
f98a0af
Compare
Test summaryRun details
View run in Cypress Dashboard ➡️ Flakiness
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
I'm unable to test this... it's still erroring. |
I picked up Chakra's new Vite impl and tested it out. It's failing with a new kind of dependency optimization error. |
User facing changelog
Additional details
__cypress/src
prefix to the dev-serverHow has the user experience changed?
failure-vite-demo.mov
PR Tasks