Skip to content

Commit f20efb4

Browse files
committed
feat: add Playwright config
1 parent 18928bd commit f20efb4

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

eform-client/playwright.config.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import { defineConfig, devices } from '@playwright/test';
2+
3+
export default defineConfig({
4+
testDir: './playwright/e2e',
5+
fullyParallel: false,
6+
workers: 1,
7+
timeout: 120_000,
8+
use: {
9+
baseURL: 'http://localhost:4200',
10+
viewport: { width: 1920, height: 1080 },
11+
video: 'retain-on-failure',
12+
screenshot: 'only-on-failure',
13+
trace: 'retain-on-failure',
14+
},
15+
projects: [
16+
{
17+
name: 'chromium',
18+
use: { ...devices['Desktop Chrome'] },
19+
},
20+
],
21+
});

0 commit comments

Comments
 (0)