/** * Playwright E2E 测试配置 */ module.exports = { testDir: require('path').join(__dirname, 'e2e'), timeout: 60000, retries: 0, use: { baseURL: 'http://cfc.iwintrue.com',//cfc.iwintrue.com', headless: true, ignoreHTTPSErrors: true, actionTimeout: 15000, navigationTimeout: 30000, }, projects: [ { name: 'desktop', use: { browserName: 'chromium', viewport: { width: 1440, height: 900 }, }, }, ], reporter: [ ['html', { outputFolder: 'playwright-report' }], ['list'], ], }