Verify first camp founding trio deployment
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user