-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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 doesn't find tests when custom webpack config uses code-splitting #2745
Comments
Please see my comment in the cypress issue you linked. We think the issue with with the cypress webpack preprocessor. A workaround should look like this: module.exports = {
configureWebpack: () => {
return {
optimization: {
runtimeChunk: process.env.CYPRESS_ENV ? undefined : {
name: 'manifest',
}
}
}
}
} We'll see how the problem in the cypress repository develops and will determine how to deal with this in our own repo accordingly. |
I'm having the same/comparable issue. Still working on it. See cypress-io/cypress#2608 |
sorry for dumb question, but how do I get I just added |
hm, I think |
I opened an issue in the cypress-webpack-preprocessor reporsitory as I think the problem should be solved there. |
Now that we've removed webpack preprocessor from default cypress config (#2904), there's no remaining actionable item in vue cli, so I'm closing this issue. |
Version
3.0.5
Reproduction link
https://github.com/vuejs/vue-cli
Node and OS info
Node 10.11.0 / npm 6.4.1 / macOS Mojave 10.14
Steps to reproduce
vue create
and add cypress as e2e test toolvue.config.js
file with the following content:What is expected?
tests ran fine on
npm run test:e2e
What is actually happening?
A "No tests found in your file" message is shown in Cypress and no tests are executed
I'm not sure if it's a vue cli or cypress issue, so I opened this issue too in cypress repo
The text was updated successfully, but these errors were encountered: