-
Notifications
You must be signed in to change notification settings - Fork 3.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
Serve static assets #9736
Labels
npm: @cypress/vue
@cypress/vue package issues
Comments
Partial work around
{
"fileServerFolder": "dist"
}
const options = {
base: '/',
vue: 'https://unpkg.com/vue/dist/vue.js'
}
beforeEach(mountVue(/* my Vue code */, options)) |
bahmutov
referenced
this issue
in cypress-io/cypress-vue-unit-test
Dec 27, 2017
bahmutov
referenced
this issue
in cypress-io/cypress-vue-unit-test
Dec 27, 2017
JessicaSachs
referenced
this issue
Sep 29, 2020
JessicaSachs
referenced
this issue
Sep 29, 2020
Fixed in 7.0: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Sometimes there are static assets included from the components, like images.
<img src="./assets/logo.png">
- the webpack dev server serves these, or can build it into a folder, but Cypress does not handle these files.See code at bahmutov/vue-cli-and-cypress#1
The text was updated successfully, but these errors were encountered: