Skip to content

Commit

Permalink
Update playwright.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
stolinski authored Nov 6, 2024
1 parent 0250dbe commit 3faac25
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
const config = {
webServer: {
command: 'pnpm build:svelte && pnpm preview',
port: 4173,
timeout: 600000
},
testDir: 'tests'
};
import { defineConfig, devices } from '@playwright/test';

const config = defineConfig({
fullyParallel: true,
retries: process.env.CI ? 2 : 0,
webServer: {
command: 'pnpm build:svelte && pnpm preview',
port: 4173,
timeout: 600_000
},
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
],
testDir: 'tests'
});

export default config;

0 comments on commit 3faac25

Please sign in to comment.