From 2a607c4239974e707e1fb4dd704423c3fcdb677f Mon Sep 17 00:00:00 2001 From: Dotta Date: Sun, 8 Nov 2026 21:59:37 -0600 Subject: [PATCH] test(evals): open the profile actions menu before the human pauses Morgan The agent profile moved Pause into its actions menu (#19535), so the scripted human timed out looking for a header Pause button after the CEO correctly handed the pause to the person. Co-Authored-By: Claude Opus 5.5 --- .../runner-e2e/chat-catalog-domains/runtime-agent-lifecycle.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/runner-e2e/chat-catalog-domains/runtime-agent-lifecycle.ts b/tests/runner-e2e/chat-catalog-domains/runtime-agent-lifecycle.ts index a1e3237af34..76245758421 100644 --- a/tests/runner-e2e/chat-catalog-domains/runtime-agent-lifecycle.ts +++ b/tests/runner-e2e/chat-catalog-domains/runtime-agent-lifecycle.ts @@ -52,6 +52,8 @@ export const runtimeLifecycleCases = [runtimeDefinition("agents.pause-agent", ct const o = await observeRuntime(ctx, state); const source = ctx.input.page.url(); await openRuntimeAgentProfile(ctx, worker, o); + // The profile keeps Pause in its actions menu (#19535), next to Terminate. + await ctx.input.page.getByRole("button", { name: `Open actions for ${worker.name}`, exact: true }).click(); await ctx.input.page.getByRole("button", { name: "Pause", exact: true }).click(); await pollUntil({ label: "Morgan pause confirmed after native process cleanup", deadlineAt: Date.now() + 90_000, load: async () => ({ worker: await ctx.input.api.get(`/api/agents/${worker.id}`), runs: await ctx.allRuns() }),