-
Notifications
You must be signed in to change notification settings - Fork 383
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
Cypress Included image with Vite 6 fails on bitbucket CI #1287
Comments
Are you saying that the issue you describe was also occurring with Cypress 13.x?
Does this mean that you are using the image
This does not look like an error which would be caused by a standard Cypress Docker image. I'm not sure that we can help you here. |
Yes, once we updated Vite to v6, then regardless of the Cypress version we get that error. And we have have though it has been fixed in Cypress v14
This one: cypress/included:14.0.0
Why then the image based on Cypress factory works, but with the included one does not ? I think Cypress docker images does not support fully Vite 6, we are migrating now our pipelines to our custom factory images...not sure if we will have time to investigate this issue, but thought it is good to report it. |
Please clarify at what stage the vite error occurs. Is it when you try to start the vite server in Docker or is it when you start testing with Cypress? For your Cypress tests are you testing E2E or are you doing Component Testing? If you have a public repo which shows the error that would be helpful for troubleshooting. |
It is Component Testing and the error starts before running the test, and only in CI...locally we have no issues. Also we are having for quite some time this warning too...will take a look within next days to get rid of it
|
I am able to run Cypress Component Testing successfully on
|
Ok, thx about the CJS issue. Hmm, so I was preparing a none splitted pipeline file to share it with you, but when runing it on 14.0, it didn't fail. Weird, maybe there was some cache on 13.x, not really sure.....indeed it is not related to image thanks for your time. |
It's good to hear that you are no longer seeing the issue! Note that cypress/included installs Cypress as a global npm install. This may not work as you expect if you are enabling the experimental |
Hi,
It seems that this issue has not been resolved after upgrading to v14.0.0. When we run Cypress Included with Vite 6.0.7 on Bitbucket CI it fails:
Seems that some dependencies are not ok.
Note that with Cypress factory on Jenkins we don't have any issues. We even seen minus 2 minutes improvements after upgrading to v14
The text was updated successfully, but these errors were encountered: