Files
restitution/playwright.config.js
kaykayyali 804aec6a11 M2.4: combat loop e2e + unit data fields
- Unit.js: add health/armor to entity data
- CombatSystem.js: integration hooks for M2 combat loop
- EntityStateMachine.js: orchestrator.registerEntity refactor
- playwright.config.js: M2 e2e config
- tests/e2e/combat-loop.{spec,e2e}.js: M2 combat loop verification
- tests/e2e/milestone-2-combat-loop.spec.js: M2 acceptance test
- .gitignore: exclude debug scripts + screenshots from commits
2026-06-27 16:44:41 +00:00

16 lines
390 B
JavaScript

const { defineConfig } = require('@playwright/test');
module.exports = defineConfig({
testDir: 'tests/e2e',
workers: 1,
timeout: 120000,
use: {
browserName: 'chromium',
launchOptions: {
executablePath: '/usr/lib/chromium/chromium',
args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-gpu'],
},
viewport: { width: 1280, height: 720 },
},
});