fix: accept rendered network trace label
This commit is contained in:
@@ -742,7 +742,7 @@ test("local external network fixture renders GitHub blocker with trace and witho
|
||||
assert.equal(blockerCheck.observations.ui.failedMessageHasTrace, true);
|
||||
assert.equal(blockerCheck.observations.ui.retryInputPreserved, true);
|
||||
assert.equal(blockerCheck.observations.ui.retryInputValue, "访问一下github看看");
|
||||
assert.match(blockerCheck.observations.ui.traceText, /network:started/u);
|
||||
assert.match(blockerCheck.observations.ui.traceText, /network[: ]started/u);
|
||||
assert.match(blockerCheck.observations.ui.traceText, /tool:external\.network\.check:blocked/u);
|
||||
assert.equal(blockerCheck.observations.ui.noMainAttributionNoise, true);
|
||||
assert.equal(blockerCheck.observations.prompt.response.error.code, "external_network_blocked");
|
||||
|
||||
Reference in New Issue
Block a user