- 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
16 lines
390 B
JavaScript
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 },
|
|
},
|
|
});
|