I want to run some playwright component tests against a vue app but am running into issues with all the vite auto imports .
I understand that ctViteConfig
can be used in playwright.config
to point to plugins etc but am not entirely sure how to implement this as documentation is sparse. This is a section of my playwright.config
file
use: {
trace: 'on-first-retry',
ctPort: 3100,
/* Viteconfig */
ctViteConfig: {
configFile: '../project/vite.config.js',
},
},
Is something like this possible to implement?