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(relay): separate page setup and probe deadlines [H5,C7]
Corey Olson99d3eb884da8
diff --git a/test/relay-setup-once.test.js b/test/relay-setup-once.test.jsindex af2e3574..9f725e6d 100644--- a/test/relay-setup-once.test.js+++ b/test/relay-setup-once.test.js@@ -72,9 +72,9 @@ function pageWait(chrome, step, expression, timeoutMs) {return chrome.waitFor(expression, timeoutMs, step);}-/** Label a set-up-once page evaluation without changing its expression or deadline. */-function pageEvaluate(chrome, step, expression) {- return chrome.evaluate(expression, step);+/** Label a set-up-once page evaluation and optionally set its per-command deadline. */+function pageEvaluate(chrome, step, expression, timeoutMs) {+ return chrome.evaluate(expression, step, timeoutMs);}test('the set-up-once wait names the step it is on [H5,C7]', {@@ -105,7 +105,6 @@ test('the set-up-once wait names the step it is on [H5,C7]', {const address = server.address();chrome = await startChrome({url: `http://127.0.0.1:${address.port}/stand-in`,- commandTimeoutMs: 1_000,diagnosticTimeoutMs: 200,capturePageSteps: true,});@@ -163,7 +162,7 @@ test('the set-up-once wait names the step it is on [H5,C7]', {await assert.rejects(pageWait(chrome, 'stand-in forced condition step', 'false', 80), error => assertPageCapture( // budget: 80 ms hang ceiling for forced stand-in timeout captureerror, 'stand-in forced condition step', null,));- await assert.rejects(pageEvaluate(chrome, 'stand-in forced evaluate step', 'new Promise(() => {})'), error => {+ await assert.rejects(pageEvaluate(chrome, 'stand-in forced evaluate step', 'new Promise(() => {})', 1_000), error => {assert.equal(error.code, 'CDP_TIMEOUT');return assertPageCapture(error, 'stand-in forced evaluate step', null);});