Add fourth sequential asset expansion batch

This commit is contained in:
2026-06-25 21:54:09 +09:00
parent f2ae6f3a80
commit 7aa35baeb6
27 changed files with 76 additions and 10 deletions

View File

@@ -9147,7 +9147,7 @@ try {
weishuiCampsStoryState?.background !== 'story-weishui-camps' ||
weishuiCampsStoryState?.backgroundReady !== true ||
weishuiCampsStoryState?.portraitKey !== 'zhugeLiang' ||
weishuiCampsStoryState?.portraitTextureKey !== 'portrait-zhuge-liang'
!weishuiCampsStoryState?.portraitTextureKey?.startsWith('portrait-zhuge-liang')
) {
throw new Error(`Expected Weishui camps story to lazy-load its new generated background and show Zhuge Liang portrait by speaker fallback: ${JSON.stringify(weishuiCampsStoryState)}`);
}
@@ -9324,13 +9324,20 @@ try {
const northbankStoryState = await page.evaluate(() =>
window.__HEROS_GAME__?.scene.getScene('StoryScene')?.getDebugState?.()
);
const northbankExpectedPortraits = {
'sixty-fifth-northbank-council': ['zhugeLiang', 'portrait-zhuge-liang'],
'sixty-fifth-forward-ledger': ['huangQuan', 'portrait-huang-quan'],
'sixty-fifth-rearguard-threat': ['jiangWei', 'portrait-jiang-wei']
};
const northbankExpectedPortrait = northbankExpectedPortraits[northbankStoryState?.currentPageId];
if (
northbankStoryState?.background !== 'story-weishui-northbank' ||
northbankStoryState?.backgroundReady !== true ||
northbankStoryState?.portraitKey !== 'zhugeLiang' ||
northbankStoryState?.portraitTextureKey !== 'portrait-zhuge-liang'
!northbankExpectedPortrait ||
northbankStoryState?.portraitKey !== northbankExpectedPortrait[0] ||
!northbankStoryState?.portraitTextureKey?.startsWith(northbankExpectedPortrait[1])
) {
throw new Error(`Expected Weishui north bank story to lazy-load its new generated background and show Zhuge Liang portrait by speaker fallback: ${JSON.stringify(northbankStoryState)}`);
throw new Error(`Expected Weishui north bank story to lazy-load its new generated background and show the current speaker portrait by fallback: ${JSON.stringify(northbankStoryState)}`);
}
await page.screenshot({ path: 'dist/verification-sixty-fifth-story.png', fullPage: true });