Skip to content

Commit

Permalink
build and serve instead of dev, re-enable webkit/chromium
Browse files Browse the repository at this point in the history
  • Loading branch information
lkeegan committed Dec 10, 2024
1 parent 286b852 commit 9ea3ab0
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,22 @@ export default defineConfig({
trace: "on-first-retry",
},
projects: [
// {
// name: "chromium",
// use: { ...devices["Desktop Chrome"] },
// },
{
name: "chromium",
use: { ...devices["Desktop Chrome"] },
},
{
name: "firefox",
use: { ...devices["Desktop Firefox"] },
},
// {
// name: "webkit",
// use: { ...devices["Desktop Safari"] },
// },
{
name: "webkit",
use: { ...devices["Desktop Safari"] },
},
],
webServer: {
command: "pnpm exec vite dev",
command:
"NODE_ENV=production pnpm exec svelte-kit sync && pnpm exec vite build && pnpm exec vite preview --port 5173",
port: 5173,
reuseExistingServer: !process.env.CI,
},
Expand Down

0 comments on commit 9ea3ab0

Please sign in to comment.