-
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
Component testing fails to load WebPack chunks randomly causing test failures #16421
Comments
Try updating to the latest version of Cypress. If you are still experiencing issues, feel free to reopen. |
I'm seeing this same error in cypress 13.1.0... |
same here, seeing the same with 13.3.2, I even tried to ignore those errors using the |
Same for me - on cypress 13.6.1 |
Can we re-open this? I'm getting this issue on the latest Cypress 13.6.1. |
@ryanolson-aumni can you provide a reproducible example? |
The problem is that it is not easy to reproduce on a specific tests. Sometimes specs just fail, even if there were no changes, and pass on the next run |
Same here, it happens randomly and only on CircleCI (orb: cypress-io/[email protected], docker image: cypress/browsers:node18.12.0-chrome107, cypress version: 13.6.2). I haven't found a way to reproduce it consistently for now.
|
I'm also seeing this on cypress v13.5.1 running on GCP VMs using buildkite. I also haven't found a way to reproduce it consistently. As a start though, perhaps we can gather more data by turning on more verbose webpack or cypress logs to figure out what is actually failing to load? Some other questions for the crowd:
|
Hi, this is an error that we're currently investigating. It seems that it's been possible for this error to occur over the years, but it's much more prevelant since 12.17.4 when we upgraded to Webpack 5. We're investigating a fix - and tracking this within this issue. #28644 I'll close this issue as a duplicate and encourage you to follow the other issue for updates. |
Current behavior
Full console output
To give an example of different failures:
Desired behavior
Test should run without any chunk failures.
Test code to reproduce
The issue it self is not consistently reproducible, it happens randomly without any indication of build failures.
Versions
Packages:
-
cypress
: ^7.2.0-
@cypress/react
: ^5.4.2-
@cypress/webpack-dev-server
: ^1.1.6Environment:
-Node.js: v12.9.0
-NPM: 6.10.2
The text was updated successfully, but these errors were encountered: