const { defineConfig } = require('@playwright/test'); module.exports = defineConfig({ testDir: './tests', timeout: 90000, retries: 0, use: { baseURL: 'http://localhost:80', headless: true, viewport: { width: 1280, height: 900 }, screenshot: 'only-on-failure', }, webServer: { command: 'php -d upload_max_filesize=500M -d post_max_size=512M -d memory_limit=768M -S localhost:80 router.php', url: 'http://localhost:80', reuseExistingServer: true, }, projects: [ { name: 'chromium', use: { browserName: 'chromium' } }, ], });