fix: align audiovisual and narrative feedback

This commit is contained in:
2026-07-23 23:20:50 +09:00
parent 8cf0886d7d
commit e06b15ce7a
27 changed files with 1368 additions and 142 deletions

View File

@@ -44,6 +44,7 @@ try {
console.log(
`Verified pointer-based interaction UX at ${desktopBrowserViewport.width}x${desktopBrowserViewport.height}: ` +
'camp and battle save modals block click-through, slow camp navigation is single-flight and commits after loading, ' +
'delayed combat assets rebuild deployment controls before battle start, ' +
'battle event overlays block edge-scroll and hover feedback, prioritized same-action notices collapse into one disclosed modal and battle log, ' +
'tactical reactions exclude undeployed or defeated officers, the Wolong narrative objectives gate victory, ' +
'long camp timeline titles and victory conditions stay in separate fixed-width columns, ' +
@@ -289,9 +290,20 @@ async function verifyBattlePointerFlow(page) {
battle?.battleId === battleId &&
['deployment', 'idle'].includes(battle.phase) &&
battle.mapBackgroundReady === true &&
battle.combatAssets?.status !== 'loading'
(battle.phase === 'idle' || ['ready', 'degraded'].includes(battle.combatAssets?.status))
);
}, expectedBattleId, { timeout: 90000 });
const deploymentReadyState = await page.evaluate(() => window.__HEROS_DEBUG__?.battle());
if (deploymentReadyState?.phase === 'deployment') {
assert(
deploymentReadyState.battleHud?.deploymentPanel?.combatAssetsReady === true &&
deploymentReadyState.battleHud.deploymentPanel.startButtonLabel === '전투 시작',
`Deployment controls must rebuild after delayed combat assets settle: ${JSON.stringify({
combatAssets: deploymentReadyState.combatAssets,
deploymentPanel: deploymentReadyState.battleHud?.deploymentPanel
})}`
);
}
await startDeploymentIfNeeded(page, expectedBattleId);
await verifyBattleEventOverlayInputBlock(page);
await verifyBattleEventQueueBehavior(page);