You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, create-vue generates a playwright config that has something like this in it:
{webServer: {/** * use the dev server by default for faster feedback loop. Use the preview * server on CI for more realistic testing */command: process.env.CI
? "vite preview --port 5173"
: "vite dev",port: 5173,reuseExistingServer: !process.env.CI,}}
Shouldn't we need to run build before preview so that the app actually exists?
I ran into problems running my tests on GitHub Actions, and it took me a while to figure out that this was the cause. See: vitejs/vite#4572
The text was updated successfully, but these errors were encountered:
Currently, create-vue generates a playwright config that has something like this in it:
Shouldn't we need to run
build
beforepreview
so that the app actually exists?I ran into problems running my tests on GitHub Actions, and it took me a while to figure out that this was the cause. See:
vitejs/vite#4572
The text was updated successfully, but these errors were encountered: