/** * 隔离配置:仅运行健康模块鉴权契约 E2E(tests/e2e-live/health-contract.spec.js) * 不接入 globalSetup(不重置任何数据库),只读探测鉴权门禁。 */ var path = require('path'); var LIVE_BASE = process.env.LIVE_BASE_URL || 'http://cfc.iwintrue.com'; module.exports = { testDir: path.join(__dirname, 'e2e-live'), timeout: 60000, expect: { timeout: 15000 }, retries: 0, workers: 1, fullyParallel: false, outputDir: path.join(__dirname, '.live-artifacts', 'health'), reporter: [['list']], use: { baseURL: LIVE_BASE, headless: true, ignoreHTTPSErrors: true, }, projects: [ { name: 'health-api', testMatch: /health-contract\.spec\.js$/, use: { browserName: 'chromium' }, }, ], };