import base from './playwright.config'; import path from 'node:path'; const candidate = process.env.WBV2_PRODUCTION_CANDIDATE ?? path.resolve(import.meta.dirname, '../build_web_main_desktop/b3-input-blocked-v65-20261031/app'); const port = Number(process.env.WEB_TEST_PORT ?? 5306); export default { ...base, testMatch: ['modeling-native-modal-production.spec.ts'], timeout: 300_000, use: { ...base.use, baseURL: `http://127.0.0.1:${port}`, viewport: { width: 1440, height: 900 } }, webServer: { command: `BLENDER_WEB_HTTP_PORT=${port} node ../tools/web/deployment-http-server.mjs '${candidate}'`, url: `http://127.0.0.1:${port}`, reuseExistingServer: false, timeout: 30_000 }, };