diff --git a/plugins/provider-codex/src/bridge/bridge.elicitation.test.ts b/plugins/provider-codex/src/bridge/bridge.elicitation.test.ts index 9b409cdf5c..a0e7600dba 100644 --- a/plugins/provider-codex/src/bridge/bridge.elicitation.test.ts +++ b/plugins/provider-codex/src/bridge/bridge.elicitation.test.ts @@ -457,13 +457,15 @@ it.sequential("lets the user decline an unsupported elicitation", async () => { }, 30_000); it.sequential.each([ - ["a stopped turn", "Thread interrupted"], - ["a disconnected runtime", "Runtime connection closed"], + ["a stopped turn", "Thread interrupted", formElicitation], + ["a disconnected runtime", "Runtime connection closed", formElicitation], + ["Computer Use on a stopped turn", "Thread interrupted", computerUseElicitation], + ["Computer Use on runtime disconnect", "Runtime connection closed", computerUseElicitation], ])( "cancels the native elicitation after %s", - async (_name, runtimeError) => { + async (_name, runtimeError, request) => { const { nativeResponse } = await runElicitation({ - request: formElicitation, + request, answer: null, runtimeError, });