This commit is contained in:
2022-07-19 11:57:39 +02:00
parent a5d98b76bd
commit 0bad5f275f
9 changed files with 136 additions and 16 deletions

18
playwright.config.ts Normal file
View File

@@ -0,0 +1,18 @@
import type { PlaywrightTestConfig } from '@playwright/test'
const config: PlaywrightTestConfig = {
use: {
video: 'on-first-retry',
baseURL: 'http://localhost:1234',
actionTimeout: 3_000,
},
testDir: './test',
testMatch: /.*\.ts/,
webServer: {
command: 'pnpm run dev',
port: 1234,
reuseExistingServer: true,
},
}
export default config