Verify first camp founding trio deployment

This commit is contained in:
2026-07-05 18:18:57 +09:00
parent 054c1564d1
commit adec6e3112

View File

@@ -127,6 +127,12 @@ try {
firstCampProbe.state?.nextSortieBattleId === 'second-battle-yellow-turban-pursuit',
`Expected first camp sortie flow to prepare unlocked second battle: ${JSON.stringify(firstCampProbe.state)}`
);
assert(
['liu-bei', 'guan-yu', 'zhang-fei'].every((unitId) =>
firstCampProbe.state?.sortieDeploymentPreview?.some((slot) => slot.unitId === unitId)
),
`Expected first camp deployment preview to keep the founding trio assigned: ${JSON.stringify(firstCampProbe.state?.sortieDeploymentPreview)}`
);
assert(firstCampProbe.summary?.includes('보유 군자금'), `Expected camp summary to show held gold: ${JSON.stringify(firstCampProbe)}`);
assert(firstCampProbe.texts.some((text) => text.includes('전투 보상')), `Expected camp report to show battle reward: ${JSON.stringify(firstCampProbe.texts)}`);
assert(