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(e2e): the add-lane pin narrows to #70's filing order [N27]

Corey Olson108e609a41cc
diff --git a/test/e2e.test.js b/test/e2e.test.js
index 7b8a35c1..23599845 100644
--- a/test/e2e.test.js
+++ b/test/e2e.test.js
@@ -1208,12 +1208,10 @@ test('the view keeps the board layout people know: switcher, tabs, a list and it
for (const region of ['id="proj-switch"', 'data-tab="items"', 'data-tab="shouts"', 'data-tab="spec"', 'data-tab="doctrine"', 'data-tab="activity"', 'id="chain"', 'id="detail"', 'id="add-form"', 'id="hold-form"']) {
assert.ok(page.includes(region), region);
}
- // Either filing order keeps a lane that owns folders first; the second, #70's, also puts the
- // coordinator before lanes that own none. Narrowed to it once #70 is merged.
assert.match(
page,
- /\$\('add-lane'\)\.innerHTML = \[\.\.\.working, 'coordinator'\]|const filing = \[\.\.\.working\.filter\(\(l\) => p\.owning\.includes\(l\)\), 'coordinator', \.\.\.working\.filter\(\(l\) => !p\.owning\.includes\(l\)\)\]/,
- 'new items default to a working lane, not the coordinator',
+ /const filing = \[\.\.\.working\.filter\(\(l\) => p\.owning\.includes\(l\)\), 'coordinator', \.\.\.working\.filter\(\(l\) => !p\.owning\.includes\(l\)\)\]/,
+ 'new items default to a lane that owns folders, then the coordinator, verifier lanes last',
);
const item = (await view.state(box.repo)).project.items[0];
assert.deepEqual(item.verdicts.map((verdict) => [verdict.decision, verdict.reason, verdict.note]), [['REJECT', 'TEST_FAILURE', 'no heading']]);