This commit is contained in:
2025-09-18 10:13:08 -06:00
parent 28f8907259
commit b20e43b951
11 changed files with 1010 additions and 10 deletions

View File

@@ -0,0 +1,25 @@
import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
testDir: './tests/e2e',
timeout: 30_000,
retries: 0,
fullyParallel: true,
reporter: [['list']],
use: {
baseURL: process.env.PLAYWRIGHT_BASE_URL || 'http://localhost:4173',
trace: 'on-first-retry'
},
webServer: {
command: 'pnpm preview',
cwd: __dirname,
port: 4173,
reuseExistingServer: !process.env.CI
},
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] }
}
]
});