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: bound the phone setup by its relay work [N40]

Corey Olsona83630ce7a04
diff --git a/test/journeys.test.js b/test/journeys.test.js
index bde8dad8..efef1c7e 100644
--- a/test/journeys.test.js
+++ b/test/journeys.test.js
@@ -242,6 +242,8 @@ test('pullboard.dev shows every board, linked and local [N40]', {
catch { /* Chrome versions expose different local-network permission names. */ }
}
await chromeB.send('Page.navigate', { url: JOURNEY_HOSTED + '/#device=' + pending.locator + '.' + pending.secret });
+ await waitFor(() => setup.child.exitCode !== null || setup.child.signalCode !== null,
+ 'A completes the actual phone enrollment within its relay work allowance', relayWorkBudgetMs());
const linkedSetup = await setup.done;
assert.equal(linkedSetup.code, 0, 'A completes the real relay on --all after phone pairing');
assert.equal(linkedSetup.document.linked.length, 1, 'the one registered A board links through the CLI');