import { defineConfig, devices } from '@playwright/test' export default defineConfig({ testDir: './tests', testMatch: 'review-live.spec.ts', workers: 1, fullyParallel: false, timeout: 120_000, expect: { timeout: 20_000 }, outputDir: 'reports/review-20260905/live/results', reporter: [['list'], ['html', { outputFolder: 'reports/review-20260905/live/html', open: 'never' }], ['json', { outputFile: 'reports/review-20260905/live/results.json' }]], // Installed Edge provides the H.264 codec used by the actual offline training video. use: { ...devices['Desktop Edge'], channel: 'msedge', baseURL: 'http://127.0.0.1:6180', viewport: { width: 1440, height: 1000 }, locale: 'zh-CN', timezoneId: 'Asia/Shanghai', trace: 'off', video: 'off', screenshot: 'off' }, })