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.
JavaScript agentic-codingai-agentsai-governanceautonomous-agentsclaude-codeclicode-reviewcodexcoding-agentsdeveloper-toolsgit-hooksllmlocal-firstmulti-agentsoftware-factoryspec-driven-developmentverificationvibe-coding
test(view): cover milestone status grouping [N26]
Corey Olson560aa3b92bee
diff --git a/test/cockpit/roadmap.test.js b/test/cockpit/roadmap.test.jsindex 46eb7402..b2873093 100644--- a/test/cockpit/roadmap.test.js+++ b/test/cockpit/roadmap.test.js@@ -947,7 +947,8 @@ test('the roadmap shows landed, accepted and past target [N26]', { timeout: 90_0box.run(alpha.repo,'milestone','add','Past target','--items','1,2,3');box.run(alpha.repo,'milestone','edit','Past target','--target',new Date(Date.now()-86_400_000).toISOString());box.run(alpha.repo,'milestone','add','Shipped release','--items','4');- box.run(alpha.repo,'milestone','add','State summary','--items','5,6,7,8,9,10,11');+ // Deliberately shuffle the six states; display grouping must not inherit this order.+ box.run(alpha.repo,'milestone','add','State summary','--items','10,5,9,8,7,6,11');box.run(alpha.repo,'milestone','ship','Shipped release','--next','State summary');box.run(alpha.repo,'milestone','add','Empty shipped');box.run(alpha.repo,'milestone','ship','Empty shipped','--next','State summary');@@ -996,6 +997,8 @@ test('the roadmap shows landed, accepted and past target [N26]', { timeout: 90_0assert.deepEqual(emptyPlan,{summary:false,empty:'No items yet.'},`${width}/${scheme}: an empty plan shows no header, only No items yet`);}}+ const ordered = JSON.parse(await chrome.stable(`JSON.stringify([...${milestone('State summary')}.querySelectorAll('.milestone-item .id')].map(row => row.textContent))`));+ assert.deepEqual(ordered, ['#6', '#7', '#8', '#9', '#10', '#5'], 'a milestone lists accepted, review, building, waiting, held, then landed despite shuffled membership');// Equal bounds read as one number, and the legend says waiting.await chrome.stable("(()=>{const m=data.project.milestones.find(m=>m.name==='State summary');m.summary={...m.summary,estimate:{low:2.5,high:2.5}};render();return true;})()");const single=await chrome.stable(`${milestone('State summary')}.querySelector('.roadmap-estimate')?.textContent||''`);