bulky-sundown-74498
04/27/2021, 8:33 PMbulky-sundown-74498
04/27/2021, 8:34 PMbulky-sundown-74498
04/27/2021, 8:35 PMfuture-gold-77198
04/27/2021, 8:36 PMbulky-sundown-74498
04/27/2021, 8:37 PM@cypress/vue
mount(), you are calling exactly the vtu mount function https://vue-test-utils.vuejs.org/api/#mountbulky-sundown-74498
04/27/2021, 8:38 PMfuture-gold-77198
04/27/2021, 8:38 PMbulky-sundown-74498
04/27/2021, 8:38 PMfuture-gold-77198
04/27/2021, 8:40 PMbulky-sundown-74498
04/27/2021, 8:40 PMstocky-dream-36427
04/27/2021, 9:40 PMstocky-dream-36427
04/27/2021, 9:40 PMfuture-gold-77198
04/27/2021, 10:36 PMnarrow-flag-76711
04/28/2021, 8:08 AMstocky-dream-36427
04/28/2021, 3:14 PMstocky-dream-36427
04/28/2021, 3:14 PMbulky-sundown-74498
04/29/2021, 2:51 AMbulky-sundown-74498
04/29/2021, 2:51 AMbulky-sundown-74498
04/29/2021, 3:29 AMbulky-sundown-74498
04/29/2021, 3:35 AMbulky-sundown-74498
04/29/2021, 3:35 AMbulky-sundown-74498
04/29/2021, 3:35 AMnice-scientist-9281
05/03/2021, 8:18 PMimport 'virtual:windi.css'
in the support file (https://github.com/JessicaSachs/cypress-loves-vite/blob/develop/cypress/support/index.js).
This works great when running component tests, but throws an error: Module not found: Error: Can't resolve 'virtual:windi.css'
when trying to run integration tests. I've tried making that a dynamic import that only executes for component tests, like:
if (window.Cypress.testingType === 'component') {
import('virtual:windi.css')
}
But it still throws the error.nice-scientist-9281
05/03/2021, 8:19 PMvite-plugin-windicss
config in the Cypress plugins file (https://github.com/JessicaSachs/cypress-loves-vite/blob/develop/cypress/plugins/index.js) doesn't seem to have any effect on integration tests or component tests, at least for my project)bulky-sundown-74498
05/03/2021, 8:47 PMbulky-sundown-74498
05/03/2021, 8:47 PMbulky-sundown-74498
05/03/2021, 8:47 PMbulky-sundown-74498
05/03/2021, 8:48 PMbulky-sundown-74498
05/03/2021, 8:50 PMjson
{
"e2e": { "supportFile": "cypress/support/e2e.ts" },
"component": { "supportFile": "cypress/support/component.ts" },
}
nice-scientist-9281
05/03/2021, 9:03 PM