Skip to content

Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.

test(view): the roadmap truth test counts #649's total without withdrawn items [N26]

Corey Olson606fa5237ff6
diff --git a/test/cockpit/roadmap.test.js b/test/cockpit/roadmap.test.js
index ea762208..1954e5f7 100644
--- a/test/cockpit/roadmap.test.js
+++ b/test/cockpit/roadmap.test.js
@@ -921,7 +921,7 @@ test('the roadmap shows landed, accepted and past target [N26]', { timeout: 90_0
box.run(alpha.repo,'milestone','ship','Empty shipped','--next','State summary');
const shipped=box.git(alpha.repo,'rev-parse','HEAD');
const rawRoadmap=JSON.parse(box.run(alpha.repo,'roadmap','--json'));
- assert.equal(rawRoadmap.milestones.find(m=>m.name==='State summary').total,7,'692 total retains the withdrawn member; the summary excludes it');
+ assert.equal(rawRoadmap.milestones.find(m=>m.name==='State summary').total,6,'649: the milestone total leaves the withdrawn member out, like the summary');
assert.deepEqual(rawRoadmap.milestones.find(m=>m.name==='State summary').summary,{total:6,left:5,landed:1,landing:1,review:1,building:1,waiting:1,held:1,needsYou:[9],pace:{last6h:4,last2h:4},estimate:{low:2.5,high:7.5}},'real roadmap JSON owns every header field');
const view=await startView(box),profile=mkdtempSync(join(tmpdir(),'pullboard-roadmap-truth-'));let chrome;
const milestone=name=>`document.querySelector('[data-key="m:${name}"]')`;