feat: add city stay exploration and resonance
This commit is contained in:
@@ -98,6 +98,8 @@ function validateCampInteractionUxGuards() {
|
||||
const steppedNavigationMethod = extractPrivateMethod(source, 'startCampNavigationWithCampaignStep');
|
||||
const startStoryMethod = extractPrivateMethod(source, 'startVictoryStory');
|
||||
const saveMethod = extractPrivateMethod(source, 'saveCampToSlot');
|
||||
const wolongLeadMethod = extractPrivateMethod(source, 'hasWolongAudienceLead');
|
||||
const renderBondListMethod = extractPrivateMethod(source, 'renderBondList');
|
||||
let checkedGuardCount = 0;
|
||||
|
||||
expectCampUx(
|
||||
@@ -192,6 +194,21 @@ function validateCampInteractionUxGuards() {
|
||||
);
|
||||
checkedGuardCount += 1;
|
||||
|
||||
expectCampUx(
|
||||
startStoryMethod.includes("flow.nextBattleId === campBattleIds.seventeenth && !this.hasWolongAudienceLead()") &&
|
||||
wolongLeadMethod.includes("completedVisits.includes('jingzhou-scholar-rumors')") &&
|
||||
wolongLeadMethod.includes("completedVisits.includes('refugee-village-patrol')"),
|
||||
'the Wolong sortie gate must accept a completed information visit regardless of which visit reward choice was taken'
|
||||
);
|
||||
checkedGuardCount += 1;
|
||||
|
||||
expectCampUx(
|
||||
renderBondListMethod.includes('dialogue.id === this.selectedDialogueId') &&
|
||||
renderBondListMethod.includes('[selectedBond, ...relatedBonds.filter'),
|
||||
'the resonance list must keep the currently selected dialogue bond visible when more than four bonds are available'
|
||||
);
|
||||
checkedGuardCount += 1;
|
||||
|
||||
return checkedGuardCount;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user