const { defineConfig } = require('@playwright/test'); module.exports = defineConfig({ testDir: './tests', timeout: 30000, use: { baseURL: 'http://127.0.0.1:4173', headless: true, viewport: { width: 1440, height: 900 } }, webServer: { command: 'python3 -m http.server 4173 --bind 127.0.0.1', port: 4173, reuseExistingServer: true, timeout: 10000 } });