I did encounter the same problem, it turned out that we can't add plugins: [svelte()] under ctViteConfig.
There are some bugs/ conflicts after recent breaking changes of SvelteKit and Vite 3.0.
Interesting. I don't actually use SvelteKit but just plain Svelte app.
So, have you found the way around the issue or how did you got it to work in your original post?
I did encounter the same problem, it turned out that we can't add
plugins: [svelte()]
underctViteConfig
.There are some bugs/ conflicts after recent breaking changes of SvelteKit and Vite 3.0.
Interesting. I don't actually use SvelteKit but just plain Svelte app.
So, have you found the way around the issue or how did you got it to work in your original post?
If you use the
playwright-ct.config.ts
in my original post, it should work.