Files
chunyu_prject_react/playwright.config.ts
T
2026-08-05 23:59:22 +08:00

21 lines
440 B
TypeScript

import { defineConfig } from '@playwright/test';
export default defineConfig({
testDir: './tests',
timeout: 30000,
retries: 0,
use: {
baseURL: process.env.PLAYWRIGHT_BASE_URL || 'http://localhost:5175',
headless: true,
viewport: { width: 1280, height: 720 },
actionTimeout: 10000,
ignoreHTTPSErrors: true,
},
projects: [
{
name: 'chromium',
use: { browserName: 'chromium' },
},
],
});