add timeout

This commit is contained in:
cupcakearmy 2022-09-12 19:34:37 +02:00
parent 47f7fa045d
commit 13b51ec76d
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F
1 changed files with 2 additions and 0 deletions

View File

@ -9,12 +9,14 @@ const config: PlaywrightTestConfig = {
outputDir: './test-results',
testDir: './test',
timeout: 60_000,
webServer: {
command: 'pnpm run test:server',
port: 1234,
reuseExistingServer: true,
},
projects: [
{ name: 'chrome', use: { ...devices['Desktop Chrome'] } },
{ name: 'firefox', use: { ...devices['Desktop Firefox'] } },