Expose active source quote in Ranker receipt
This commit is contained in:
@@ -2247,6 +2247,9 @@ try {
|
||||
assert.equal(gameRouteGuardrail.input.decisionContext.ideaRoute, 'game');
|
||||
assert.ok(gameRouteGuardrail.input.decisionContext.nonGoals.some(item => /accounts, dashboards, workspaces/i.test(item)), 'game route should add anti-SaaS guardrails even if Scattermind did not spell them out as avoid text');
|
||||
assert.equal(gameRouteGuardrail.ranked[0].id, 'build-order-1');
|
||||
assert.match(gameRouteGuardrail.brief.firstScreen.sourceQuote, /Five-minute playable driving arena/i, 'first-screen receipt should carry the exact source quote behind the active move');
|
||||
assert.equal(gameRouteGuardrail.brief.firstScreen.sourceTitle, 'Build Order');
|
||||
assert.match(gameRouteGuardrail.brief.decisionReceipt.sourceQuote, /Five-minute playable driving arena/i);
|
||||
assert.equal(gameRouteGuardrail.ranked.find(item => /Player account dashboard/i.test(item.title)).lane.source, 'source-non-goal');
|
||||
assert.equal(gameRouteGuardrail.handoff.decisionContext.ideaRoute, 'game');
|
||||
assert.match(gameRouteGuardrail.handoff.copyableText, /Idea route: game/);
|
||||
|
||||
Reference in New Issue
Block a user